import decimal

X = int(eval(input()))

i = 0

K = 100



while K < X:

  i = i + 1

  K_ = decimal.Decimal(str(K*1.01))

  K = int(K_.quantize(decimal.Decimal('0'), rounding=decimal.ROUND_FLOOR))

  

print(i)
X = int(eval(input()))

i = 0

K = 100

 

while K < X:

  i = i + 1

  K = int(K*1.01)

  

print(i)
import decimal

X = int(eval(input()))
i = 0
K = 100
while K < X:
    i = i + 1
    K_ = decimal.Decimal(str(K * 1.01))
    K = int(K_.quantize(decimal.Decimal("0"), rounding=decimal.ROUND_FLOOR))
print(i)

X = int(eval(input()))
i = 0
K = 100
while K < X:
    i = i + 1
    K = int(K * 1.01)
print(i)

-import decimal - -    K_ = decimal.Decimal(str(K * 1.01)) -    K = int(K_.quantize(decimal.Decimal("0"), rounding=decimal.ROUND_FLOOR)) +    K = int(K * 1.01)