X = int(input())
now = 100
ans = 0
while now < X:
    now += now // 100
    ans += 1
print(ans)

90c97ab24d55e5e1133824b686fbc679f6dc7243
<mask token>

<mask token>
while now < X:
    now += now // 100
    ans += 1
print(ans)

X = int(input())
now = 100
ans = 0
while now < X:
    now += now // 100
    ans += 1
print(ans)
