X = int(input())
Y = 100
count = 0
while Y < X:
    Y = Y + Y // 100
    count += 1
print(count)

6abe308d80d4400a8777e0e3eaae8077a0a72cbf
<mask token>

<mask token>
while Y < X:
    Y = Y + Y // 100
    count += 1
print(count)

X = int(input())
Y = 100
count = 0
while Y < X:
    Y = Y + Y // 100
    count += 1
print(count)
