a = [100]

for i in range(4000):

    a.append(a[-1] + a[-1] // 100)

x = int(eval(input()))

for i in range(4000):

    if a[i] >= x:

        print(i)

        exit()
X = int(eval(input()))

x1 = 100

r = 0.01

t = 0

if 101 <= X <=10**18:

    while x1 < X:

        R = int(x1 * r)

        x1 = R + x1

        t = t + 1

    print(t)

a = [100]
for i in range(4000):
    a.append(a[-1] + a[-1] // 100)
x = int(eval(input()))
for i in range(4000):
    if a[i] >= x:
        print(i)
        exit()

X = int(eval(input()))
x1 = 100
r = 0.01
t = 0
if 101 <= X <= 10**18:
    while x1 < X:
        R = int(x1 * r)
        x1 = R + x1
        t = t + 1
    print(t)

-a = [100] -for i in range(4000): -    a.append(a[-1] + a[-1] // 100) -x = int(eval(input())) -for i in range(4000): -    if a[i] >= x: -        print(i) -        exit() +X = int(eval(input())) +x1 = 100 +r = 0.01 +t = 0 +if 101 <= X <= 10**18: +    while x1 < X: +        R = int(x1 * r) +        x1 = R + x1 +        t = t + 1 +    print(t)