Consecutive natural numbers from to are written together in order, without spaces, to form a large number. This large number is divisible by the natural number with no remainder. Given and , find the smallest possible value of .
The input contains two integers and (a, c < 10000, a \leq b).
Print the smallest integer .
Example 1