x = int(eval(input()))



t = 100

count = 0

while True:

  if t >= x:

    print(count)

    exit()

  

  t = int(t + t*0.01)

  count += 1
x = int(eval(input()))



s = 100

ans = 0

while s < x:

  t = int(s*0.01)

  s = s+t

  ans += 1

print(ans)
x = int(eval(input()))
t = 100
count = 0
while True:
    if t >= x:
        print(count)
        exit()
    t = int(t + t * 0.01)
    count += 1

x = int(eval(input()))
s = 100
ans = 0
while s < x:
    t = int(s * 0.01)
    s = s + t
    ans += 1
print(ans)

-t = 100 -count = 0 -while True: -    if t >= x: -        print(count) -        exit() -    t = int(t + t * 0.01) -    count += 1 +s = 100 +ans = 0 +while s < x: +    t = int(s * 0.01) +    s = s + t +    ans += 1 +print(ans)