Bank interest
Problem
The deposit in the bank is x rubles. Every year it increases by p percent, after which the fractional part of kopecks is discarded. Determine in how many years the contribution will be at least y rubles.
Input
The program receives three natural numbers as input:
x,
p,
y (one number per line).
Imprint
The program should output one integer.
Examples
| # |
Input |
Output |
| 1 |
100
10
200 |
8 |