The biscuit machine produces
B biscuits at the following times:
A seconds,
2A seconds,
3A seconds and every subsequent multiple of
A seconds after power on. Determine how many cookies the machine will have produced by time T+0.5 seconds after power on.
Input
The program takes as input one string containing three numbers
A,
B and
T. 1 <= A, B, T <= 20, A <= T. All numbers are positive integers.
Imprint
Print one number - the answer to the problem.
Examples
| # |
Input |
Output |
| 1 |
3 5 7 |
10 |
| 2 |
3 2 9 |
6 |