Takahashi has a deposit of 100 yen (the currency of Japan) in AtCoder Bank.  The bank pays an annual interest rate of 1 % compounded annually. (A fraction of less than one yen is discarded.)  Assuming that nothing other than the interest affects Takahashi's balance, in how many years does the balance reach X yen or above for the first time?
import math
x = int(input())
count=0
count_1 = 100
ans=0

while x >= count_1:
    count=(math.floor(count_1*0.01))
    count_1+=math.floor(count)
    ans += 1
print(ans)
import math
x = int(input())
count=0
count_1 = 100
ans=0

while x > count_1:
    count=(math.floor(count_1*0.01))
    count_1+=math.floor(count)
    ans += 1
print(ans)
