import math

x = int(eval(input()))



m = 100

cnt = 0

while 1:

    cnt += 1

    m = m + math.floor(m * 0.01)

    if m >= x:

        break

print(cnt)
import math

x = int(eval(input()))



m = 100

cnt = 0

while 1:

    cnt += 1

    m = math.floor(m * 1.01)

    if m >= x:

        break

print(cnt)
import math

x = int(eval(input()))
m = 100
cnt = 0
while 1:
    cnt += 1
    m = m + math.floor(m * 0.01)
    if m >= x:
        break
print(cnt)

import math

x = int(eval(input()))
m = 100
cnt = 0
while 1:
    cnt += 1
    m = math.floor(m * 1.01)
    if m >= x:
        break
print(cnt)

-    m = m + math.floor(m * 0.01) +    m = math.floor(m * 1.01)