x = int(eval(input()))

dum = 100

count = 0

while(1):

    if dum >= x:

        break

    dum = dum*1.01

    dum = dum//1

    count += 1

    #print(dum)

print(count)
import math

x = int(eval(input()))

a = 100

cnt = 0

while(1):

    cnt += 1

    a += a//100

    if a >= x:

        break

print(cnt)

x = int(eval(input()))
dum = 100
count = 0
while 1:
    if dum >= x:
        break
    dum = dum * 1.01
    dum = dum // 1
    count += 1
    # print(dum)
print(count)

import math

x = int(eval(input()))
a = 100
cnt = 0
while 1:
    cnt += 1
    a += a // 100
    if a >= x:
        break
print(cnt)

+import math + -dum = 100 -count = 0 +a = 100 +cnt = 0 -    if dum >= x: +    cnt += 1 +    a += a // 100 +    if a >= x: -    dum = dum * 1.01 -    dum = dum // 1 -    count += 1 -    # print(dum) -print(count) +print(cnt)