X = int(eval(input()))

y = 100

flag = 1

con = 0

while flag:

  y *= 1.01

  y = int(y)

  con += 1

  if y >= X:

    flag = 0

print(con)

  
X = int(eval(input()))

money = 100

ans = 0

while money < X:

  ans += 1

  money = int(money*1.01)

print(ans)
X = int(eval(input()))
y = 100
flag = 1
con = 0
while flag:
    y *= 1.01
    y = int(y)
    con += 1
    if y >= X:
        flag = 0
print(con)

X = int(eval(input()))
money = 100
ans = 0
while money < X:
    ans += 1
    money = int(money * 1.01)
print(ans)

-y = 100 -flag = 1 -con = 0 -while flag: -    y *= 1.01 -    y = int(y) -    con += 1 -    if y >= X: -        flag = 0 -print(con) +money = 100 +ans = 0 +while money < X: +    ans += 1 +    money = int(money * 1.01) +print(ans)