You can put k cutlets in the pan at the same time. Each cutlet needs to be fried on each side for m minutes continuously. What is the shortest time it takes to fry n cutlets on both sides?
Input
3 numbers are entered: k, m and n. All numbers do not exceed 32000.
Imprint
Print the time it takes for all cutlets to be fried.
Examples
# |
Input |
Output |
1 |
1
5
1 |
10 |