X = int(eval(input()))

count = 0

money = int(100)



while True:

  money = int(money * 1.01)

  count += 1

  if money >= X:

    print(count)

    break

X = int(eval(input()))

count = 0

money = 100



while True:

  money = int(money * 1.01)

  count += 1

  if money >= X:

    print(count)

    break

X = int(eval(input()))
count = 0
money = int(100)
while True:
    money = int(money * 1.01)
    count += 1
    if money >= X:
        print(count)
        break

X = int(eval(input()))
count = 0
money = 100
while True:
    money = int(money * 1.01)
    count += 1
    if money >= X:
        print(count)
        break

-money = int(100) +money = 100