import math

from decimal import Decimal

X = int(eval(input()))

now = 100

year = 0



while True:

    if now >= X:

        break

    #now = int(now * Decimal("1.01"))

    now = int(now * round(Decimal(1.01), 2))

    year += 1



print(year)

import math

from decimal import Decimal

X = int(eval(input()))

now = 100

year = 0



while True:

    if now >= X:

        break

    #now = int(now * Decimal("1.01"))

    #now = int(now * round(Decimal(1.01), 2))

    now += now // 100



    year += 1



print(year)

import math
from decimal import Decimal

X = int(eval(input()))
now = 100
year = 0
while True:
    if now >= X:
        break
    # now = int(now * Decimal("1.01"))
    now = int(now * round(Decimal(1.01), 2))
    year += 1
print(year)

import math
from decimal import Decimal

X = int(eval(input()))
now = 100
year = 0
while True:
    if now >= X:
        break
    # now = int(now * Decimal("1.01"))
    # now = int(now * round(Decimal(1.01), 2))
    now += now // 100
    year += 1
print(year)

-    now = int(now * round(Decimal(1.01), 2)) +    # now = int(now * round(Decimal(1.01), 2)) +    now += now // 100