from decimal import Decimal

x=int(eval(input()))

n=Decimal("100")

ans=0

while True:

    ans+=1

    n*=Decimal("1.01")

    n//=1

    if n>=x:

        print(ans)

        break
x=int(eval(input()))

n=100

ans=0

while True:

    ans+=1

    n+=n//100

    if n>=x:

        print(ans)

        break
from decimal import Decimal

x = int(eval(input()))
n = Decimal("100")
ans = 0
while True:
    ans += 1
    n *= Decimal("1.01")
    n //= 1
    if n >= x:
        print(ans)
        break

x = int(eval(input()))
n = 100
ans = 0
while True:
    ans += 1
    n += n // 100
    if n >= x:
        print(ans)
        break

-from decimal import Decimal - -n = Decimal("100") +n = 100 -    n *= Decimal("1.01") -    n //= 1 +    n += n // 100