from math import floor,ceil

X = int(eval(input()))

 

p = 100

c = 0

while p < X:

    p=floor(p*1.01)

    c += 1

print(c)
from math import floor,ceil

X = int(eval(input()))

cash = 100

count = 0

while cash < X:

    cash=floor(cash*1.01)

    count += 1

print(count)
from math import floor, ceil

X = int(eval(input()))
p = 100
c = 0
while p < X:
    p = floor(p * 1.01)
    c += 1
print(c)

from math import floor, ceil

X = int(eval(input()))
cash = 100
count = 0
while cash < X:
    cash = floor(cash * 1.01)
    count += 1
print(count)

-p = 100 -c = 0 -while p < X: -    p = floor(p * 1.01) -    c += 1 -print(c) +cash = 100 +count = 0 +while cash < X: +    cash = floor(cash * 1.01) +    count += 1 +print(count)