x = int(eval(input()))

total = 100

year = 0



while x > total:

  year += 1

  total += total//100

print(year)

import math

x = int(eval(input()))

initial = 100

count = 0

while initial < x:

  initial += initial//100  

  count += 1

print(count)
x = int(eval(input()))
total = 100
year = 0
while x > total:
    year += 1
    total += total // 100
print(year)

import math

x = int(eval(input()))
initial = 100
count = 0
while initial < x:
    initial += initial // 100
    count += 1
print(count)

+import math + -total = 100 -year = 0 -while x > total: -    year += 1 -    total += total // 100 -print(year) +initial = 100 +count = 0 +while initial < x: +    initial += initial // 100 +    count += 1 +print(count)