k = int(eval(input()))



now = 100

cnt = 0

while (now < k):

    now *= 1.01

    now = int(now)

    cnt += 1



print(cnt)
x = int(eval(input()))

money = 100

ans = 0



while(money < x):

    ans += 1

    money *= 1.01

    money = int(money)



print(ans)

k = int(eval(input()))
now = 100
cnt = 0
while now < k:
    now *= 1.01
    now = int(now)
    cnt += 1
print(cnt)

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

-k = int(eval(input())) -now = 100 -cnt = 0 -while now < k: -    now *= 1.01 -    now = int(now) -    cnt += 1 -print(cnt) +x = int(eval(input())) +money = 100 +ans = 0 +while money < x: +    ans += 1 +    money *= 1.01 +    money = int(money) +print(ans)