Time limit
2s
Memory limit
128 MB
Given integers N and F, replace the last two digits of N with a value from 00 to 99 so that the resulting number is divisible by F. If several values work, choose the smallest last-two-digit value.
For example, if N=275 and F=5, changing the last two digits to 00 gives 200, which is divisible by 5. If N=1021 and F=11, changing them to 01 gives 1001, which is divisible by 11.
The first line contains N, and the second line contains F. N is a natural number from 100 to 2,000,000,000 inclusive, and F is a natural number at most 100.
Print the chosen last two digits on the first line. If the value has one digit, add a leading 0 so that exactly two digits are printed.