Problem:
 Score : 200 points    Problem Statement  Takahashi has a deposit of 100 yen (the currency of Japan) in AtCoder Bank.  The bank pays an annual interest rate of 1 % compounded annually. (A fraction of less than one yen is discarded.)  Assuming that nothing other than the interest affects Takahashi's balance, in how many years does the balance reach X yen or above for the first time?      Constraints   101 \le X \le 10^{18}  All values in input are integers.         Input  Input is given from Standard Input in the following format:  X       Output  Print the number of years it takes for Takahashi's balance to reach X yen or above for the first time.        Sample Input 1 103      Sample Output 1 3   The balance after one year is 101 yen.  The balance after two years is 102 yen.  The balance after three years is 103 yen.   Thus, it takes three years for the balance to reach 103 yen or above.       Sample Input 2 1000000000000000000      Sample Output 2 3760       Sample Input 3 1333333333      Sample Output 3 1706

Solution (Python):
import sys
sys.setrecursionlimit(10 ** 9)

def int1(x): return int(x) - 1
def II(): return int(input())
def MI(): return map(int, input().split())
def MI1(): return map(int1, input().split())
def LI(): return list(map(int, input().split()))
def LI1(): return list(map(int1, input().split()))
def LLI(rows_number): return [LI() for _ in range(rows_number)]
def MS(): return input().split()
def LS(): return list(input())
def LLS(rows_number): return [LS() for _ in range(rows_number)]
def printlist(lst, k=' '): print(k.join(list(map(str, lst))))
INF = float('inf')







def solve():
    X = II()

    mon = 100
    for i in range(1, 4000):
        mon = mon * 101 // 100
        if mon >= X:
            print(i)
            return

if __name__ == '__main__':
    solve()

Solution (Python):
x = int(input())
money = 100
ans = 0
while money < x:
    money += money // 100
    ans += 1
print(ans)

Solution (Python):
x = int(input())
p = 100
t , si= 0, 0
while(p < x):
    si = p//100
    p += si
    t += 1
print(t)

Solution (Python):
x=int(input())
t=100
ans=0
while t < x:
  t += t//100
  ans+=1
print(ans)

Solution (Python):



x=int(input())
m=100
i=0
while m<x:
    i+=1
    m+=m//100
print(i)

Solution (Python):
X = int(input())

K = 100
i = 1
while 1:
    K *= 101
    K //= 100
    if K >= X:
        break
    i += 1
print(i)

Solution (Python):

x = int(input())
c = 0
t = 100
while x > t:
    t = 101 * t // 100
    c += 1
print(c)

Solution (Python):
X = int(input())

yen = 100
ret = 0
while yen<X:
  yen = 101*yen//100
  ret += 1
print(ret)

Solution (Python):
X=int(input())
i=0
t=100
while(t<X):
  t *= 101
  t = int(t//100)
  i += 1
print(i)

Solution (Python):
import math
X = int(input())
Y = 100
count = 0
while Y < X:
    Y = Y + Y // 100
    count += 1

print(count)

Solution (Python):
X=int(input())
sum=0
A=100
while A<X:
  A=(A*101)//100
  sum+=1
print(sum)

Solution (Python):
a = 100
x = int(input())
counter = 0
while a < x:
  a = a * 101 // 100
  counter += 1
print(counter)

Solution (Python):
X = int(input())
P = 100
year = 0
while X > P:
    P += P // 100
    year += 1

print(year)

Solution (Python):
X = int(input())
money = 100
count = 0
while True:
    count += 1
    money = (money * 100 * 101) // 10000
    if money >= X:
        print(count)
        break

Solution (Python):
X = int(input())
money = 100
for i in range(1, 100000):
    money = money + (money // 100)
    if money >= X:
        print(i)
        break

Solution (Python):
x = int(input())
money = 100
year = 0
 
while money < x:
    money += money // 100;
    year += 1
    
print(year)

Solution (Python):
x=int(input())
t=100
cnt=0
while t<x:
  t=t+t//100
  cnt+=1
print(cnt)

Solution (Python):
x=int(input())
i=0
X=100
while x>X:
    X=X+X//100
    i+=1
print(i)

Solution (Python):
x = int(input())
money = 100
year = 0

while money < x:
    money += money // 100;
    year += 1
    
print(year)

Solution (Python):
import math
X = int(input())

count = 0
s = 100
while s < X:
    
    s += s//100
    count += 1
print(count)

Solution (Python):
def main():
    x = int(input())
    m = 100
    for i in range(10**5):
        if m >= x:
            print(i)
            return
        m += m//100

if __name__ == "__main__":
    main()

Solution (Python):
X = int(input())
m = 100
a = 0

while m < X:
  m = m + m // 100
  a += 1
print(a)

Solution (Python):
import math
n=int(input())
c=100
for i in range(4000):
  c=(c*101)//100
  if c>=n:
    print(i+1)
    break

Solution (Python):
x=int(input())
y=0
mon=100
while x>mon:
    mon+=mon//100
    y+=1
print(y)

Solution (Python):
x = int(input())
money = 100
year = 0

while True:
  money = money + money//100
  year += 1
  if money >= x:
    print(year)
    exit()

Solution (Python):
x = int(input())

m = 100
cnt = 0
while m < x:
  m += m//100 
  cnt += 1

print(cnt)

Solution (Python):
X = int(input())
ppap = 0

a = 100
while a < X:
  a += a//100
  ppap += 1
print(ppap)

Solution (Python):
import sys
input = lambda: sys.stdin.readline().rstrip()

X = int(input())
i = 0
start = 100
while start < X:
    start += start // 100
    i += 1
print(i)

Solution (Python):
x=int(input())

i=100
j=0
while i<x:
  i+=i//100
  j+=1
  
print(j)

Solution (Python):
a=int(input())
c=100
x=0
while c<a:
  c=c+c//100
  x=x+1

print(x)

Solution (Python):
maxt = int(input())
t,nen = 100,0
while t<maxt:
    t += t//100
    nen += 1
print(nen)

Solution (Python):
import math
X = int(input())
a = 100
for i in range(1,200000):
  a += a//100
  if a >= X:
    break
print(i)

Solution (Python):
n = int(input())
s = 100
a = 0
while n > s:
  s= int(s+s//100)
  a += 1
print(a)

Solution (Python):
N = int(input())
i = 100
cnt = 0
while True:
    i += i // 100
    cnt += 1
    if i >= N:
        print(cnt)
        exit()

Solution (Python):
X = int(input())
s = 100
c = 0
while s < X:
  s = s + s  // 100
  c = c + 1
print(c)

Solution (Python):
def main():
    X = int(input())

    sum = 100
    count = 0
    while sum < X:
        sum = sum + sum  // 100
        count = count + 1
    print(count)
main()

Solution (Python):
import math
X = int(input())

sum = int(100)
cnt = 0
while sum < X:
    sum = sum + sum//100
    cnt += 1

print(cnt)

Solution (Python):
x = int(input())
s = 100
ans = 0
while s < x:
    ans += 1
    s += (s//100)

print(ans)

Solution (Python):
X=int(input())

R=100
Y=0
while R<X:
    Y+=1
    R+=(R//100)

print(Y)

Solution (Python):
from decimal import *
from math import floor
X = int(input())

year = 0
yen = Decimal(100)
while not (yen >= X):
    
    yen += floor(yen*Decimal("0.01"))
    year += 1

print(year)

Solution (Python):
X=int(input())
mlist=[100]
while mlist[-1]<X:
    m_n=mlist[-1]+mlist[-1]//100
    mlist.append(m_n)
print(len(mlist)-1)

Solution (Python):
X=int(input())
n=100
for i in range(5000):
  if n>=X:print(i);break
  n=n*101//100

Solution (Python):
x = int(input())

count = 0
account = 100
while(True):
  if (account >= x):
    break
    
  account = account* 101 // 100
  count += 1

print(count)

Solution (Python):
X = int(input())
def bank(x):
  k = 100
  m = 0
  while x > k:
    k = k*101 // 100
    m += 1
  return m
print(bank(X))

Solution (Python):
from decimal import *

x = Decimal(input())
ans = 100
cnt = 0
while x > ans:
  ans = int(Decimal("1.01") * Decimal(str(ans)))
  cnt += 1

print(cnt)

Solution (Python):
x = int(input())
money = 100


for i in range(1, 10**18):
    money += money//100
    if money >= x:
        print(i)
        break

Solution (Python):
x = int(input())

money = 100
year = 0

while money < x:
    money = money*101//100
    year += 1

print(year)

Solution (Python):
import sys
import itertools

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

X = int(read())

x = 100
for year in itertools.count():
    if x >= X:
        break
    x = x * 101 // 100
print(year)

Solution (Python):
X=int(input())
P=100
r=0
y=0
while X>P:
    y+=1
    r=P//100
    P+=r
print(y)

Solution (Python):
X = int(input())
year = 0
deposit = 100
while deposit < X:
    deposit = deposit*101//100
    year = year+1
print(year)

Solution (Python):
x = int(input())

money = 100
cnt = 0
while money < x:
    cnt +=1
    money += money // 100

print(cnt)

Solution (Python):


x = int(input())
d= 100
yr = 0

while d < x:
    d += (d // 100)
    yr += 1

print(yr)

Solution (Python):
k=int(input())
x=100
count=0
while True:
  x+=x//100
  count+=1
  if (x>k) or (x==k):
    break
print(count)

Solution (Python):
X = int(input())
t = 100

for i in range(10000):
    t += t//100
    if X<=t:
        print(i+1)
        break

Solution (Python):
req = int(input())
count = 0
p = 100
while p < req:
  p = p * 101//100
  p = int(p)
  count +=1
  
print(count)

Solution (Python):
x = int(input())
a = 0
b = 100
while b < x:
  b = b*101//100 
  a+=1
print(a)

Solution (Python):
a = int(input())
ans = 0
cur = 100
while cur < a:
  cur += cur//100
  ans += 1
print(ans)

Solution (Python):
X = int(input())
A = 100
Y = 0
while A < X:
  A += A//100
  Y += 1
print(Y)

Solution (Python):
def main():
    import sys
    read = sys.stdin.buffer.read
    readline = sys.stdin.buffer.readline
    readlines = sys.stdin.buffer.readlines
    sys.setrecursionlimit(10 ** 7)

    x = int(readline())
    v = 100
    for i in range(10 ** 6):
        if v >= x:
            print(i)
            break
        v += v // 100


if __name__ == '__main__':
    main()

Solution (Python):
x = int(input())
y = 100
n = 0
while y < x:
  y += y//100
  n += 1
print(n)

Solution (Python):
a = int(input())
b = 100
n = 0
while b < a:
  b += b//100
  n += 1
print(n)

Solution (Python):
x = int(input())
total = 100
year = 0

while x > total:
  year += 1
  total += total//100
print(year)

Solution (Python):
import math

x = int(input())
num = 100

for i in range(10000):
  num += num//100
  if num >= x:
    print(i+1)
    exit(0)

Solution (Python):
def main():
  x = int(input())
  
  total = 100
  year = 0
  
  while total < x:
    
    total += total // 100
    year += 1
  
  print(year)
  
  
  
main()

Solution (Python):
X = int(input())
price = 100
year = 0
while price < X:
    year += 1
    price += price // 100
print(year)

Solution (Python):
x = int(input())

cnt = 0
money = 100

while money < x:
    money += money//100
    cnt += 1
    
print(cnt)

Solution (Python):
kane = 100
x = int(input())
year = 0
while kane < x:
    kane = kane + int((kane // 100))
    year += 1
print(year)

Solution (Python):
X = int(input())
cnt = 0
y = 100
while y < X:
  y += y // 100
  cnt += 1
print(cnt)

Solution (Python):
def solve(x):
  money = 100
  year = 0
  while money < x:
    money = money * 101 // 100
    year += 1
  return year
  
x = int(input())
ans = solve(x)
print(ans)

Solution (Python):
x=int(input())
de=100
count=0
while de<x:
    count+=1
    de+=de//100
print(count)

Solution (Python):
import numpy as np
def cumsum(x):
    return list(np.cumsum(x))

def cumsum_number(N,K,x):
    ans=[0]*(N-K+1)
    number_cumsum = cumsum(x)
    number_cumsum.insert(0,0)
    for i in range(N-K+1):
        ans[i]=number_cumsum[i+K]-number_cumsum[i]
    return ans
"""
int 
float 


for name in fruits: 
    print(name)


list0 = [] 
list0 = [1,2,3,4] 
list0 = [0]*10 
list1= [i for i in range(10)] 
list1 = list(map(int, input().split()))　
number=[int(input()) for i in range(int(input()))] 
list1 = list1 + [6, 7, 8] 
list2.append(34) 
list.insert(3,10) 
len(list4) 
max(sa) 
list5.count(2) 
list1.sort() 
list1.sort(reverse=True)  
set(list1) 
sum([2,3,   ,3]) 

abs(a) 
max(a,b) min(a,b) 
text1 = text1.replace("34","test") 

exit(0) 

cumsum(リスト) 
cumsum_number(N,K,x) 
"""
X=int(input())
Y=100
ans=0
while Y<X:
    Y=Y+Y//100
    ans += 1
print(ans)

Solution (Python):
if __name__ == '__main__':
    n = int(input())
    value = 100
    years = 0
    while value < n:
        value += (value//100)
        years += 1
    print(years)

Solution (Python):
import sys
import itertools

import time
import math
 
sys.setrecursionlimit(10 ** 7)
 
from collections import defaultdict
 
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines

N = int(input())

x = 100
year = 0
while x < N:
    x += x // 100
    year += 1
print(year)

Solution (Python):
x=int(input())
import math
n=100
y=0
while n<x:
    n+=n//100
    y+=1
print(y)

Solution (Python):
X = int(input())
ans = 100
n = 0
while ans < X:
  ans += ans // 100
  n += 1
print(n)

Solution (Python):
x=int(input())
cnt=0
m=100
while m<x:
    m+=m//100
    cnt+=1

print(cnt)

Solution (Python):
X = int(input())
year = 0
money = 100
while money < X:
    money += money // 100
    year += 1
print(year)

Solution (Python):
import math
X = int(input())
money = 100
rishi = 0
year = 0

while X > money:
    year = year+1
    rishi = money//100
    money = money+rishi

print(year)

Solution (Python):
x = int(input())
money = 100
i = 0
while True:
    i += 1
    money += money // 100
    if money >= x:
        print(i)
        break

Solution (Python):
x = int(input())
ans = 0
m = 100

while m<x:
    ans += 1
    m += m//100

print(ans)

Solution (Python):
import math
from decimal import Decimal
X = int(input())
coin = 100
count = 0

while True:
    coin = coin + math.floor(coin*Decimal('0.01'))
    count += 1
    if coin >= X:
        break
print(count)

Solution (Python):
x = int(input())
money = 100
year = 0

while money < x:
    year += 1
    interset = str(money)
    money += int(interset[:-2])

print(year)

Solution (Python):
import math
from decimal import Decimal
x=int(input())
money=100
count=0
while money < x:
  money += math.floor(money*Decimal('0.01'))
  count += 1
print(count)

Solution (Python):
import math
X=int(input())
tmp=100
t=1
while tmp<X:
  tmp=math.floor(tmp*1.01)
  t+=1
print(t-1)

Solution (Python):
import math

X = int(input())
i = 0
P = 100

while True:
    if P >= X:
        break
    P += P*0.01
    P = math.floor(P)
    i += 1
    
print(i)

Solution (Python):
X = int(input())
money = 100
i = 1
while 1:
    money = money*1.01//1
    if money >= X:
        print(i)
        break
    i += 1

Solution (Python):

X = int(input())
money = 100
count = 0
while money < X:
    money = money * 1.01
    count += 1
    money = int(money)
print(count)

Solution (Python):
X = int(input())
money = 100
year = 0

while money < X:
  money = int(money * 1.01)
  year += 1
  
print(year)

Solution (Python):
import math
x=int(input())
a=100
b=0

while a<x:
    a += math.floor(a*0.01)
    b += 1
print(b)

Solution (Python):
import math
x = int(input())
d = 100
c = 0
while d < x:
    d += math.floor(d * 0.01) 
    c += 1 
print(c)

Solution (Python):
x=int(input())
a=100
ans=0
while a<x:
  a=int(a*1.01)
  ans+=1

print(ans)

Solution (Python):
def resolve():
	X = int(input())
	tmp = 100
	ans = 0
	while tmp<X:
		tmp += tmp//100
		ans += 1
	print(ans)
resolve()

Solution (Python):
x = int(input())
balance = 100
count = 0

while x > balance:
    balance = int(balance*1.01)
    count += 1

print(count)

Solution (Python):
def one_percent():
    X = int(input())
    needed_year_is = 0
    your_deposit = 100
    
    flag = True
    while flag:
        if your_deposit >= X:
            print(needed_year_is)
            return
        
        needed_year_is += 1
        your_deposit = int(your_deposit * 1.01)

one_percent()

Solution (Python):
x = int(input())
y = 0
bank = 100
while True:
    y += 1
    interest = int(bank*0.01)
    bank += interest
    if bank >= x:
        print(y)
        exit()

Solution (Python):
import sys
from collections import deque
from math import floor
sys.setrecursionlimit(10**6)
def S(): return sys.stdin.readline().rstrip()
def SL(): return map(str,sys.stdin.readline().rstrip().split())
def I(): return int(sys.stdin.readline().rstrip())
def IL(): return map(int,sys.stdin.readline().rstrip().split())
def LS(): return list(sys.stdin.readline().rstrip().split())
def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))

def Main():
    x = I()
    m = 100
    year = 0
    while m<x:
        m = floor(m*1.01)
        year += 1
    print(year)
    return

if __name__=='__main__':
    Main()

Solution (Python):
import math
a = int(input())
tm = 100
year = 0
while a > tm:
  tm += math.floor(tm *0.01)
  year += 1
print(year)

Solution (Python):
X = int(input())
money = 100
count = 0

while money < X:
    money = int(money*1.01)
    count += 1
print(count)

Solution (Python):
x = int(input())
y = 100
ans = 0
while y < x:
  y += y//100
  ans += 1
print(ans)

Solution (Python):
X = int(input())

c = 100
y = 0
while(c < X):
    c += int(c//100)
    y += 1

print(y)

Solution (Python):
X = int(input())
i = 100
cnt = 0
while i<X:
  i =i*1.01//1
  cnt += 1
print(cnt)

Solution (Python):
x = int(input())
depo = 100
rate = 0.01
count = 0

while depo < x:
    depo += (depo * rate)
    depo = int(depo)
    count += 1

print(count)

Solution (Python):
import math
def main():
  x=int(input())
  y=100
  t=0
  while(True):
    y=math.floor(y*1.01)
    t+=1
    if(x<=y):
      print(t)
      return 0

main()

Solution (Python):
import math
x = int(input())
money = 100
ans = 0
while True:
  if money >= x:
    print(ans)
    exit()
  else:
    money = int(math.floor(money * 1.01))
    ans += 1

Solution (Python):
from math import floor
x = int(input())
money = 100
count = 0
while money < x:
    money *= 1.01
    money = floor(money)
    count += 1
print(count)

Solution (Python):
x=int(input())
tmp=100
ans=0
while tmp<x:
    tmp=int(1.01*tmp)
    ans+=1
    if tmp>=x:
        print(ans)

Solution (Python):
x = int(input())
m = 100
ans = 0
while m < x:
  m += m//100
  ans += 1
print(ans)

Solution (Python):
import math
X = int(input())
count = 0
sum = 100
while X > sum:
  sum += (math.floor(sum) * 0.01)
  sum = math.floor(sum)
  count += 1
print(count)

Solution (Python):
import math
x = int(input())
diff = x - 100
balance = 100  
for i in range(diff):
  interest = int(balance * 0.01)  
  balance += interest
  if balance >= x:
    print(i+1)
    break

Solution (Python):

import glob
import numpy as np


REL_PATH = 'ABC\\165\\B'


TOP_PATH = 'C:\\AtCoder'

class Common:

    problem = []
    index = 0

    def __init__(self, rel_path):
        self.rel_path = rel_path

    def initialize(self, path):
        file = open(path)
        self.problem = file.readlines()
        self.index = 0
        return

    def input_data(self):
        try:
            IS_TEST
            self.index += 1
            return self.problem[self.index-1]
        except NameError:
            return input()

    def resolve(self):
        pass

    def exec_resolve(self):
        try:
            IS_TEST
            for path in glob.glob(TOP_PATH + '\\' + self.rel_path + '/*.txt'):
                print("Test: " + path)
                self.initialize(path)
                self.resolve()
                print("\n\n")
        except NameError:
            self.resolve()


class B(Common):

    def resolve(self):

        X = int(self.input_data())

        count = 0

        money = 100

        while True:
            kinri = int(money * 0.01)
            money += kinri
            count += 1
            if money >= X:
                print(str(count))
                break


solver = B(REL_PATH)
solver.exec_resolve()

Solution (Python):
x = int(input())

i = 100
year = 0

while i < x:
    year += 1
    i += int(i * 0.01)
        
print(year)

Solution (Python):
import math

x=int(input())

money=100
years=0

while money<x:
    money=math.floor(money*1.01)
    years+=1

print(years)

Solution (Python):
x = int(input())

a = 100
b = 0

while a < x:
    b += 1
    a += int(a * 0.01)
    
print(b)

Solution (Python):

x = int(input())
depo = 100
count = 0

while depo < x:
    depo += int(depo*0.01)
    count += 1
print(count)

Solution (Python):
def main():
    x = int(input())
    ans = 0
    t = 100
    while t < x:
        t += (t // 100)
        ans += 1

    print(ans)


if __name__ == '__main__':
    main()

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

Solution (Python):
X = int(input())
 
now = 100
cnt = 0
while now < X:
  cnt += 1
  now += int(now*0.01)
print(cnt)

Solution (Python):
x = int(input())
p = 100
ans = 0
while(p < x):
    p += p//100
    ans+=1
print(ans)

Solution (Python):
X = int(input())
money = 100
year = 0

while money < X:
  year += 1
  money = int(money * 1.01)

print(year)

Solution (Python):
import math
def main():
    deposit = 100
    X = int(input())
    year = 0
    
    while X > deposit:
        deposit = int(deposit * 1.01)
        year +=1

    print(year)

if __name__ == "__main__":
    main()

Solution (Python):
x = int(input())
y = 100
count = 0
while (True):
  if y < x:
    y *= 1.01
    y = int(y)
    count += 1
  else:
    break
print(count)

Solution (Python):
x=int(input())
ans=0
coin=100

while coin < x:
  coin = int(coin*1.01)
  ans += 1
print(ans)

Solution (Python):
x = int(input())

n = 0
v = 100
while v < x:
  v = int(v * 1.01)
  n += 1
print(n)

Solution (Python):
import math
X=int(input())
R=100
ans=0
while R<X:
    R=math.floor(R*1.01)
    ans+=1
print(ans)

Solution (Python):
import math
X = int(input())
c = 0
R = 100
while R < X:
  R = math.floor(R*1.01)
  c += 1
print(c)

Solution (Python):
money = 100
goal = int(input())

for i in range(1, 10**18):
  money = int(1.01* money)
  if money >= goal:
    print(i)
    break

Solution (Python):
x = int(input())
mny = 100
yr = 0
while mny < x:
    mny = int(mny * 1.01)
    yr += 1
print(yr)

Solution (Python):
x = int(input())

money, year = 100, 0
while money < x:
  money += int(money * 0.01)
  year += 1
print(year)

Solution (Python):
X = int(input())
n = 0
money = 100
while(money<X):
  money = money+money//100
  n = n+1
print(n)

Solution (Python):
import math
x=int(input())
times=0
money=100
while money<x:
  money=math.floor(money*1.01)
  times+=1
  
print(times)

Solution (Python):
import collections
import sys
readline = sys.stdin.readline


def main():
    x = int(readline().rstrip())
    y = 100
    num = 0
    while 10 ** 18 >= y:
        y = int(y * 1.01)
        num += 1
        if x <= y:
            print(num)
            return


if __name__ == '__main__':
    main()

Solution (Python):
x = int(input())

y = 100
i = 0
while True:
    if y >= x:
        print(i)
        break
    y += int(y * 0.01)
    i += 1

Solution (Python):

X = int(input())
x = 100
ans = 0
while x<X:
    x = int(x*1.01)
    ans += 1
print(ans)

Solution (Python):
N = int(input())
money = 100
c = 0

while money < N:
    money = money * 101 // 100
    c += 1

print(c)

Solution (Python):
import math
x = int(input())
bank = 100
y = 0
while x > bank:
  bank += math.floor(bank*0.01)
  y += 1

print(y)

Solution (Python):
X = int(input())
yen = 100
n = 0
while yen < X:
    n = n + 1
    yen = (yen*1.01)//1
    if X <= yen:
        print(n)

Solution (Python):
import math 
X = int(input())
yen = 100
n = 0
while yen < X:
    n = n + 1
    yen = math.floor(yen*1.01)
    if X <= yen:
        print(n)

Solution (Python):
x = int(input())
d, c = 100, 0
while d < x:
    d += int(d * 0.01)
    c += 1
print(c)

Solution (Python):
x = int(input())
d, c = 100, 0
while d < x:
    d += int(d * 0.01)
    c += 1
print(c)

Solution (Python):
X = int(input())
value = 100
year = 0
while value < X:
  value = int(value*1.01)
  year += 1
print(year)

Solution (Python):
import math
X = int(input())

now = 100
count = 0
while True:
    count += 1
    now = math.floor(now * 1.01)
    if now >= X:
        break

print(count)

Solution (Python):
x = int(input())
ans = 0
c = 100
while True:
  c = int(c * 1.01)
  ans += 1
  if c >= x:
    break
print(ans)

Solution (Python):
X = int(input())

money = 100
count = 0

while X > money :
    money = int(money * 1.01)
    count += 1

print(count)

Solution (Python):
X = int(input())
x = 100
cou = 0
while x<X:
    x = int(x*1.01)
    cou+=1
print(cou)

Solution (Python):
X=int(input())
year=0
kane=100
while kane<X:
  kane=kane*101//100
  year+=1
print(year)

Solution (Python):
x = int(input())
a = 100
i = 0

while a < x:
    a += a // 100
    i += 1

print(i)

Solution (Python):
x = int(input())
a = 100
i = 0
while a < x:
    a *= 1.01
    a = int(a)
    i += 1

print(i)

Solution (Python):
import sys
def main():
    X=int(sys.stdin.readline())
    x,i=100,0
    while x<X:x,i=int(x*1.01),i+1
    print(i)
if __name__=='__main__':main()

Solution (Python):
x = int(input())


ans = 0
money = 100
while x > money:
    rishi = int(money * 0.01)
    money += rishi
    ans += 1

print(ans)

Solution (Python):
X = int(input())

initial_value = 100
count = 0

while True:
    initial_value = str(initial_value * 101)
    initial_value = int(initial_value[0:-2])
    count += 1
    if initial_value >= X:
        print(count)
        break

Solution (Python):
x = int(input())

yokin = 100
cnt = 0
while yokin < x:
    yokin += int(yokin * 0.01)
    cnt += 1

print(cnt)

Solution (Python):
x=int(input())
ans=0
money=100
while money<x:
    money=money+int(money*0.01)
    ans+=1
print(ans)

Solution (Python):
import sys
input = sys.stdin.readline

def main():
    X = int(input())
    m = 100
    i = 0
    while m < X:
        m = int(m * 1.01)
        i += 1
    print(i)


if __name__ == "__main__":
    main()

Solution (Python):
import math
x = int(input())
a = 100
ans = 1
while True:
  a = int(math.floor(a*1.01))
  if a >= x:
    print(ans)
    exit()
  else:
    ans += 1

Solution (Python):
import math

x = int(input())
i = 100
c = 0

while i < x:
    i = i + math.floor(i * 0.01)
    c += 1

print(c)

Solution (Python):
X = int(input())
c = 100
n = 0
while X > c:
    c = c + int(c / 100)
    n = n + 1

print(n)

Solution (Python):
x=int(input())
n=100
count=0
while n < x:
  m=n*101
  M=str(m)
  N=M[:-2]
  n=int(N)
  count+=1
else:
  print(count)

Solution (Python):
def resolve():
    X = int(input())
    count = 0
    money = 100
    for i in range(X):
        money = money * 101 // 100
        count = count + 1
        if money >= X:
            break
    print(count)
resolve()

Solution (Python):
import math
x=int(input())
n=0
start=100
while True:
    n+=1
    start+=start/100
    start=math.floor(start)
    if start>=x:
        print(n)
        break

Solution (Python):
X=int(input())

a=100

for i in range(3800):
  if a>=X:
    print(i)
    break
  else:
    a=(a*1.01)//1
  if a>10**6:
    a/(10**6)
    X/(10**6)

Solution (Python):
def main():
    X = int(input())
    a = 100
    for x in range(X):
        if a >= X:
            print(x)
            return
        a += int(a / 100)



if __name__=="__main__":
    main()

Solution (Python):
x = int(input())
depo = 100

count = 0

while depo < x:
    rate = depo*0.01
    depo += rate
    depo = int(depo)
    count += 1
print(count)

Solution (Python):
x=int(input())
m=100
y=0
while m<x:
    y+=1
    m=int(m*1.01)

print(y)

Solution (Python):
X=int(input())
Y=0
R=0.01

C=100

while C<X:
    Y+= 1
    C= C*(1+R)//1
    
print(Y)

Solution (Python):
import math

x=int(input())
ans=0
while x>100:
	x=math.ceil(x/1.01)
	ans=ans+1
print(ans)

Solution (Python):
x = int(input())
deposit = 100
ans = 0
while deposit < x:
    deposit = int(deposit*1.01)
    ans += 1
print(ans)

Solution (Python):
import math

x = input()
cnt = 0
sum = 100

while True:
  cnt += 1
  sum += (math.floor(sum * 0.01))
  if sum >= int(x):
    break

print(cnt)

Solution (Python):

X = int(input())

ans = 100
y = 0
while (1):
    ans = ans + ( (ans * 100) // 10000 )
    y = y + 1
    if ans >= X:
        break
    
print(y)

Solution (Python):
x = int(input())
balance = 100
n = 1

while 1:
    balance *= 1.01
    balance = int(balance)
    if balance >= x:
        break
    n += 1

print(n)

Solution (Python):
X=int(input())
money=100
year=0
while True:
    year+=1
    money+=int(money/100)
    if money>=X:
        print(year)
        break

Solution (Python):
X = int(input())
a = 100
b = 1.01
count= 1
while a*(1.01)< X:
	count += 1
	a = int(a *1.01)
print(count)

Solution (Python):




money = 100
n = 0
x = int(input())
while True:
    money = int(money * 1.01)
    n += 1
    if x <= money:
        print(n)
        exit()

Solution (Python):
import math


def solve():
    X = int(input())
    money = 100
    years = 0
    while True:
        money = math.floor(money * 1.01)
        years += 1
        if X <= money:
            print(years)
            exit()



if __name__ == '__main__':
    solve()

Solution (Python):
import math
X = int(input())
a = 100
cnt = 0

while a < X:
    a += math.floor(a * 0.01)
    cnt += 1
print(cnt)

Solution (Python):
x=int(input())
money=100
year=0
while money<x:
    add=int(money*0.01)
    money+=add
    year+=1
print(year)

Solution (Python):
import math

x = int(input())

money = 100
rate = 0.01
year = 0
while x > money:
  money = money + math.floor(money*rate)
  year += 1

print(year)

Solution (Python):
X = int(input())
Count = 0
Money = 100

while Money < X:
    Next  = str(Money*101)
    Money = int(Next[:-2])
    Count = Count+1

print(Count)

Solution (Python):
x = int(input())

ans = 0
money = 100
while money < x:
  money *= 1.01
  money = int(money)
  ans += 1
print(ans)

Solution (Python):
import math
X = int(input())
m = 100
c = 0

while m < X:
  m *= 1.01
  m = math.floor(m)
  c += 1
print(c)

Solution (Python):
import math
x = int(input())
interest = 1.01
wallet = 100
count = 0
while wallet < x:
    count += 1
    wallet = math.floor(wallet * interest)
print(count)

Solution (Python):
X = int(input())

depo =100
i=1
while depo > 1:
    depo = int(depo*1.01)
    if depo >= X:
        break
    
    i +=1
print(i)

Solution (Python):
X=int(input())
bank=100
i=0
while X>bank:
  bank=int(bank*1.01)
  i+=1
print(i)

Solution (Python):
x = int(input())

deposit = 100
ans = 0

while deposit < x:
    deposit = int(deposit * 1.01)
    ans += 1

print(ans)

Solution (Python):
import math
x = int(input())
a = 100
ans = 0
for i in range(4000):
    a *= 1.01
    a = math.floor(a)
    ans += 1
    if a >= x: break
print(ans)

Solution (Python):
x=int(input())
y=100
z=0
while x >y:
  if y<x:
    y=int(y*1.01)
    z+=1
print(z)

Solution (Python):
X = int(input())
A = 100
for i in range(1,1000000):
  A = int(A*1.01)
  if A >= X:
    print(i)
    exit(0)

Solution (Python):
x = int(input())
m = 100
year = 0
while m < x:
  m = m*101//100
  year+=1
print(year)

Solution (Python):
X = int(input())

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

Solution (Python):
import math


def actual(x):
    yen = 100
    elapsed_year = 0

    while True:
        yen = math.floor(yen * 1.01)
        elapsed_year += 1

        if yen >= x:
            return elapsed_year

x = int(input())
print(actual(x))

Solution (Python):
x = int(input())
i = 0
z = 100
while z < x:
    i += 1
    z = int(z * 1.01)
print(i)

Solution (Python):
X = int(input())

money = 100
ans = 0

while money < X:
  money = int(money*1.01)
  ans += 1
  
print(ans)

Solution (Python):
import math
x = int(input())
n, y = 100, 0
while n < x:
    n = math.floor(n * 1.01)
    y = y + 1
print(y)

Solution (Python):
x = int(input())
n, y = 100, 0
while n < x:
    n = n * 101 // 100
    y = y + 1
print(y)

Solution (Python):
x = int(input())
deposit, year = 100, 0
while deposit < x:
    deposit = deposit * 101 // 100
    year += 1
print(year)

Solution (Python):
x = int(input())

mny = 100
count = 0
while(x > mny):
	mny += int(mny*0.01)
	count += 1
print(count)

Solution (Python):
x = int(input())

p = 100

time = 0
while x > p:
    time += 1
    p += int(p/100.0)
print(time)

Solution (Python):
x = int(input())
k = 100
f = 0
ans = 0
while f == 0:
  k = int(k * 1.01)
  ans += 1
  if k >= x:
    break
print(ans)