#abc176a. [abc176_a]Takoyaki
[abc176_a]Takoyaki
Problem Statement
Takahashi loves takoyaki - a ball-shaped snack.
With a takoyaki machine, he can make at most pieces of takoyaki at a time, taking minutes regardless of the number of pieces to make.
How long does it take to make takoyaki?
Constraints
- All values in input are integers.
Input
Input is given from Standard Input in the following format:
Output
Print an integer representing the minimum number of minutes needed to make pieces of takoyaki.
Sample Input 1
20 12 6
Sample Output 1
12
He can make pieces of takoyaki in the first minutes and more in the next minutes, so he can make in a total of minutes.
Note that being able to make in minutes does not mean he can make in minute.
Sample Input 2
1000 1 1000
Sample Output 2
1000000
It seems to take a long time to make this kind of takoyaki.