#P40. 练8.5 幸运数
练8.5 幸运数
Description
Student A believes that their lucky number is the largest non-negative integer not exceeding that is divisible by . Can you help them calculate their lucky number?
Input Format
Input consists of a single line with two integers and ().
Output Format
Output a single line with an integer representing the lucky number.
Sample
3 22
Related
In following homework: