x = int(eval(input()))

m =100

i=0

while m <x:

    m = m*1.01

    m = int(m)

    i+=1

print(i)
X = int(eval(input()))



depo =100

i=1

while depo > 1:

    depo = int(depo*1.01)

    if depo >= X:

        break

    

    i +=1

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

X = int(eval(input()))
depo = 100
i = 1
while depo > 1:
    depo = int(depo * 1.01)
    if depo >= X:
        break
    i += 1
print(i)

-x = int(eval(input())) -m = 100 -i = 0 -while m < x: -    m = m * 1.01 -    m = int(m) +X = int(eval(input())) +depo = 100 +i = 1 +while depo > 1: +    depo = int(depo * 1.01) +    if depo >= X: +        break