100 atcoder#ABC220A. [ABC220A] Find Multiple
[ABC220A] Find Multiple
Score : points
Problem Statement
Print a number between and (inclusive) that is a multiple of .
If there is no such number, print -1
.
Constraints
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
Output
Print the answer.
If there is no number with the desired property, print -1
.
123 456 100
200
300
or 400
would also be accepted.
630 940 314
-1