from math import floor

x = int(eval(input()))

ans = 0

y = 100

while y < x:

    y = floor(y*1.01)

    ans += 1

print(ans)
def resolve():

	X = int(eval(input()))

	tmp = 100

	ans = 0

	while tmp<X:

		tmp += tmp//100

		ans += 1

	print(ans)

resolve()
from math import floor

x = int(eval(input()))
ans = 0
y = 100
while y < x:
    y = floor(y * 1.01)
    ans += 1
print(ans)

def resolve():
    X = int(eval(input()))
    tmp = 100
    ans = 0
    while tmp < X:
        tmp += tmp // 100
        ans += 1
    print(ans)


resolve()

-from math import floor +def resolve(): +    X = int(eval(input())) +    tmp = 100 +    ans = 0 +    while tmp < X: +        tmp += tmp // 100 +        ans += 1 +    print(ans) -x = int(eval(input())) -ans = 0 -y = 100 -while y < x: -    y = floor(y * 1.01) -    ans += 1 -print(ans) + +resolve()