def solve(x):

  money = 100

  year = 0

  while money < x:

    money = money * 101 // 100

    year += 1

  return year

  

x = int(eval(input()))

ans = solve(x)

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

c=100

for i in range(1,10**8):

  c=c*101//100

  if c >= x:

    print(i)

    exit()

print("ERROR!")

def solve(x):
    money = 100
    year = 0
    while money < x:
        money = money * 101 // 100
        year += 1
    return year


x = int(eval(input()))
ans = solve(x)
print(ans)

x = int(eval(input()))
c = 100
for i in range(1, 10**8):
    c = c * 101 // 100
    if c >= x:
        print(i)
        exit()
print("ERROR!")

-def solve(x): -    money = 100 -    year = 0 -    while money < x: -        money = money * 101 // 100 -        year += 1 -    return year - - -ans = solve(x) -print(ans) +c = 100 +for i in range(1, 10**8): +    c = c * 101 // 100 +    if c >= x: +        print(i) +        exit() +print("ERROR!")