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?
x = int(input())
def ans():
    deposit = 100
    year = 0
    while True:
        deposit  = int(deposit*1.01)
        year +=1
        if deposit < x:
             continue
        else:
            return year

ans()
x = int(input())
def ans():
    deposit = 100
    year = 0
    while True:
        deposit  = int(deposit*1.01)
        year +=1
        if deposit < x:
             continue
        else:
            print(year)
            return

ans()