An investment with an initial value of is compounded annually at a rate of . Using a loop, calculate the number of years needed until the investment is worth .
Input
The first line of input contains with at most 2 decimal places.
The second line of input contains , with at most 2 decimal places.
The third line of input contains , the rate of interest in percent with at most 2 decimal places. The interest will not be 0 or greater than 100%.
Output
Output the number of years needed before the interest with initial value reaches a value of with a compound interest of every year.
Sample Input
100
200
12
Sample Output
7
Comments
Isn't y future value and z interest?
yeyeye