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
x = int(input())
now = 100
cnt = 1
flag = True
while flag:
    now *= 1.01
    now = int(now)
    if now >= x:
        flag = False
    else:
        cnt += 1
print(cnt)

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



r = 1.01
out = 100
y = 0
while out < n:
  out = int(out * r )
  y += 1

print(y)

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


x=100
interest=1.01
for year in range(1,10**18):
  x=int(x*interest)
  if x>=X:
    print(year)
    break

Solution (Python):
import math

x = int(input())
temp = 100
cnt = 0

while temp < x:
    temp += math.floor(temp*0.01)
    cnt += 1

print(cnt)

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

cnt = 0
while money < x:
  money += money * 0.01
  money = int(money)
  cnt += 1
  
print(cnt)

Solution (Python):
import math

s = input()
i = 100
n = 0
while int(s) > i:
    i += math.floor(i/100)
    n += 1
print(n)

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

_x = 100
count = 0

while(1):
    x = _x + int(_x * 0.01)
    count += 1
    _x = x
    if x >= k:
        break

print(count)

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

def rishi(y):
    return math.floor(y*1.01)

counter = 0
z = 100

while x > z:
    z = rishi(z)
    counter += 1

print(counter)

Solution (Python):
import math
deposit = int(input())
money = 100
year = 0
while money < deposit:
  money = money + math.floor(money * 0.01)
  year += 1
print(year)

Solution (Python):

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

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

print(cnt)

Solution (Python):
X = int(input())
year = 1
stock = 100

while True:
    stock = stock + int(stock * 0.01)
    if stock >= X:
        print(year)
        break
    year += 1

Solution (Python):
import sys;input=lambda:sys.stdin.readline().rstrip();aint=lambda:int(input());ints=lambda:list(map(int,input().split()))
import math;floor,ceil=lambda x:int(math.floor(x)),lambda x:int(math.ceil(x))

def main():
  x=aint()
  n,i=100,0
  while n<x:
    n=floor(1.01*n)
    i+=1
  print(i)

if __name__ == '__main__':
    main()

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

Solution (Python):


import math

target = int(input())
bank = 100
ans = 0

while bank < target:
    bank += math.floor(bank * 0.01)
    ans += 1

print(ans)

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

i = 0
money = 100
while money < X:
    money *= 1.01
    money = math.floor(money)
    i += 1

print(i)

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

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

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

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

r = 0.01
s = 100

i = 0
while s < X:
	s = int(s * (1 + r))
	i = i + 1
print(i)

Solution (Python):
import math

def main():
  
  x = int(input())

  a = 100
  i = 0
  while True:
    if a >= x:
      break
    a = a + (math.floor(a * 0.01))
    i = 1 + i
  print(i)

if __name__ == '__main__':
  main()

Solution (Python):
X = int(input())
ans = 100
count = 1

while(True):
    a = ans*0.01
    ans = ans + a
    ans = int(ans)
    

    if (X<=ans):
        print(count)
        break

    count += 1

Solution (Python):
i = 1
d = 100
n = int(input())

if n == 100:
    print(0)
else:
    while True:
        d = int(d * 1.01)
        if n <= d:
            break
        i = i + 1
    print(i)

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

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

Solution (Python):
import math

a = 100
x = int(input())
n= 0

while a < x:
  if int(a*1.01) >= x:
    print(n+1)
    break
  else:
    n += 1
    a = int(a*1.01)

Solution (Python):
import math

x = int(input())

i = 0
n = 100
while n < x:
    n = math.floor(n * 1.01)
    i += 1

print(i)

Solution (Python):
k = int(input())
import math
ls = [100]
for i in range (4000):
    ls.append(math.floor(ls[i] * 1.01))
    
for j in range(len(ls)):
    if ls[j] >= k:
        break
print(j)

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

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

import math

value = 100.0
r = 1.01
n = 0

while(value < x):
    value = math.floor(r*value)
    
    n += 1
print(n)

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

Solution (Python):
X = int(input())
deposit = 100
rate = 1.01
flag = True
year = 0
while flag:
  deposit = int(deposit * rate)
  year += 1
  if deposit >= X:
    flag = False
print(year)

Solution (Python):
import sys;input=lambda:sys.stdin.readline().rstrip();aint=lambda:int(input());ints=lambda:list(map(int,input().split()))
import math;floor,ceil=lambda x:int(math.floor(x)),lambda x:int(math.ceil(x))
from functools import reduce;gcd=lambda*x:reduce(math.gcd,x);lcm=lambda*x:reduce(lambda x,y:(x*y)//gcd(x,y),x,1)
from collections import deque
Yes=lambda b:print("Yes"if b else"No");YES=lambda b:print("YES"if b else"NO")
is_even=lambda x:True if x%2==0 else False

def is_palindrome(s):
  n=len(s);b=True
  for i in range(int(0.5*n)):
    if s[i]!=s[n-i-1]:b=False
  return b

def main():
  x=aint()
  n,i=100,0
  while n<x:
    n=floor(1.01*n)
    i+=1
  print(i)

if __name__ == '__main__':
    main()

Solution (Python):
import math
x = int(input())
count=0
count_1 = 100
ans=0

while x > count_1:
    count=(math.floor(count_1*0.01))
    count_1+=math.floor(count)
    ans += 1
print(ans)

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

while X > result:
    count = count +1
    

    result = result + result //100

print(count)

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

Solution (Python):
x = int(input())
money = 100
for ind in range(3800):
    if money >= x:
        print(ind)
        break
    money = int(money * 1.01)

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

Solution (Python):
x=int(input())
y=0
z=0

y=int(100+100*0.01)

while True:
  if y>=x:
    break
  z+=1
  y=int(y+y*0.01)

print(z+1)

Solution (Python):
x = int(input())
y = 100
a = list()

for i in range(3760):
  y = int(y*1.01)
  a.append(y)

a.append(x)
b = sorted(a)

print(b.index(x)+1)

Solution (Python):
import math

X=int(input())
i=100
n=0
while i<X:
    i=math.floor(i*1.01)
    n+=1

print(n)

Solution (Python):


def inputOneLine():
	global S
	S=input()

def inputMaltiLine1():
	global S,N,lines
	N=int(input())
	for i in range(N):
		lines.append(input())



X=int(input())


yokin= 100
y=0
while 1:
	y+=1
	yokin = int(yokin * 1.01)
	
	if(yokin >= X):
		break
print(y)

Solution (Python):
import math

X=()
A=100
Years=0


X=int(input(""))

while A<X:
      A=A*1.01
      Years=Years+1
      A=int(A)

print(Years)

Solution (Python):
import math
x = int(input())
m = 100
count = 0
while(m<x):
    m += math.floor(m/100)
    count += 1
print(count)

Solution (Python):
s=int(input())
a=100
b=0
while a<s:
  a=int(a*(1+0.01))
  b+=1
print(b)

Solution (Python):


import sys
import math


debug = False

def log(text):
    if debug:
        print(text)

def parse_input(lines_as_string = None):

    global debug
    lines = []
    if lines_as_string is None:
        debug = False
        
        
        lines.append(input())
    else:
        debug = True
        lines = [e for e in lines_as_string.split("\n")][1:-1]

    (x, ) = [int(e) for e in lines[0].split(' ')]

    return (x, )


def solve(x):
    
    
    m = (math.log10(x) - 2) / math.log10(1.01)
    n = math.ceil(m) 

    tmp = 100
    n = 0 
    for i in range(1, 3761):
        tmp = math.floor(tmp * 1.01)
        if tmp >= x:
            n = i
            break


    return n
    


def main():
    
    result = solve(*parse_input())
    if isinstance(result, list):
        for r in result:
            print("%s" % r, sep='')
    else:
        print("%s" % result, sep='')

if __name__ == '__main__':

    main()

Solution (Python):
bank = 100
r = 0.01

x = int(input())
for i in range(10000000000000000000):
    bank = int(bank * (1 + r))
    
    if bank >= x:
        print(i + 1)
        break

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

Solution (Python):
import math
aim = int(input())
money = 100
cnt = 0
while True:
    cnt += 1
    money = math.floor(money * 1.01)
    if money >= aim:
        break
print(cnt)

Solution (Python):
def resolve():
    x = int(input())
    base = 100
    count = 0
    while x > base:
        base = int(base * 1.01)
        count += 1
    print(count)

resolve()

Solution (Python):
dep = 100
n = int(input())

years = 0
while dep<n:
    dep += int(dep/100)
    years += 1

print(years)

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

a = 100
result = 1

while True:
    a = a * 1.01
    a = int(a)
    if a >= X:
        break
    result += 1

print(result)

Solution (Python):
import sys
from random import choice,randint
inp=sys.stdin.readline
out=sys.stdout.write
flsh=sys.stdout.flush
 
sys.setrecursionlimit(10**9)
inf = 10**20
eps = 1.0 / 10**10
mod = 10**9+7
dd = [(-1,0),(0,1),(1,0),(0,-1)]
ddn = [(-1,0),(-1,1),(0,1),(1,1),(1,0),(1,-1),(0,-1),(-1,-1)]
 
def MI(): return map(int, inp().strip().split())
def LI(): return list(map(int, inp().strip().split()))
def LLI(): return [list(map(int, l.split())) for l in sys.stdin.readlines().strip()]
def LI_(): return [int(x)-1 for x in inp().strip().split()]
def LF(): return [float(x) for x in inp().strip().split()]
def LS(): return inp().strip().split()
def I(): return int(inp().strip())
def F(): return float(inp().strip())
def S(): return inp().strip()
def pf(s): return out(s+'\n')
def JA(a, sep): return sep.join(map(str, a))
def JAA(a, s, t): return s.join(t.join(map(str, b)) for b in a)

def main():
    x = I()
    n = 100
    c=0
    while n<x:
        n *=101
        n //=100
        c+=1
    print(c)

if __name__ == "__main__":
    main()

Solution (Python):
X = int(input())
n = 100
i = 1

while n < X:
    n = int(1.01 * n)
    i += 1
print(i-1)

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

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

ori = 100
r = 1.01
cnt = 0

while True:
    cnt += 1
    ori = int(ori*r)
    if ori >= x:
        print(cnt)
        break

Solution (Python):
str = input()
a = int(str.strip())
x = 100
count = 0
while x < a:
    x = int(x*1.01) 
    count +=1
print(count)

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

yokin = 100
count = 0

while X > yokin:
    risi = int(yokin * 0.01)
    yokin += risi
    count += 1

print(count)

Solution (Python):
"""
高橋くんはAtCoder銀行に100円を預けています。
AtCoder銀行では、毎年預金額の1%の利子がつきます(複利、小数点以下切り捨て)。
利子以外の要因で預金額が変化することはないと仮定したとき、高橋くんの預金額が初めてX円以上になるのは何年後でしょうか
"""
max = int(input())
money = 100
cnt = 0
loopf = True
while loopf:
    if money >= max:
        loopf = False
    else:
        up = money // 100
        money += up
        cnt += 1

print(cnt)

Solution (Python):
import math

x = int(input())
p = 100
i = 0
while x > p:
    p = (101 * p)/100
    p = math.floor(p)
    i += 1

print(i)

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

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

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

print(cnt)

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

Solution (Python):
import math

n = int(input())
money = 100
count = 0
while(n !=  money and money < n):
    count += 1
    money = math.floor(1.01*money)
print(count)

Solution (Python):
import math
a = int(input())
money = 100
count = 0

while True:
    count += 1
    money = math.floor(money * 1.01)
    if a <= money:
        break
print(count)

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

money = 100
for i in range(1,3761):
    money += int(money*rate)
    if x <= money:
        print(i)
        quit()

Solution (Python):
import math

X = int(input())
crdit = 100
cnt = 0

while crdit < X:
  crdit = math.floor(crdit * 1.01)
  cnt += 1
print(cnt)

Solution (Python):
import math

x_goal = int(input())


result = 0
balance = 100
while balance < x_goal:
    balance = (balance * 1.01) // 1
    result += 1

print(result)

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

n = 1
x = 100

while int(x*1.01) < k:
  x = int(x*1.01)
  n += 1
 
print(n)

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

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

Solution (Python):
import math

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

while use < x:
    use =(use*101)//100
    count = count +1

print(count)

Solution (Python):



import math
import itertools
from collections import defaultdict
from collections import Counter
import numpy as np

import heapq
x=int(input())
ans=0
v=100
while v<x:
    v=math.floor(v*1.01)
    ans+=1

print(ans)

Solution (Python):
import math
x = int(input())
a = 100
cnt = 0
while True:
    b = int(math.floor(a * 0.01))
    if a >= x:
        break
    a = a+b
    cnt +=1

print(cnt)

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

Solution (Python):
X = int(input())
current = 100
year = 0
while current < X :
    fraction = current*0.01
    if fraction >= 1 :
        current = current + int(fraction)
        year = year + 1
print(year)

Solution (Python):

import math
X= int(input())



money = 100
cnt = 0

while True:
    money = int(1.01*money)
    cnt += 1
    if money>=X:
        print(cnt)
        break

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

ans = 0
a = 100

while True:
    if a>=X:
            break
    if a<X:
        a+=int(a*0.01)
        ans+=1
print(ans)

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

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

A = 100
i = 0
while A < X :
   A = A + A//100
   i = i + 1

print(i)

Solution (Python):
import math

X = int(input())
total = 100
n = 0
while total < X:
    total = math.floor(total * 1.01)
    n += 1
print(n)

Solution (Python):
import sys
X = int(input())
Y = 100
count = 0
for i in range(0, 10**18):
  Y = int(Y + 0.01*Y)
  count = count + 1
  if Y >= X:
    print(count)
    sys.exit()

Solution (Python):
A = int(input())
p = 100
year = 1
t = 0
while p<A:
    t += 1
    p = int(p*((1+0.01)**year))
print(t)

Solution (Python):
import math

X = int(input())

price = 100
year = 1
while 1:
  price = math.floor(price * 1.01)
  if price >= X:
    break
  else:
    year += 1

print(year)

Solution (Python):
import math

X = int(input())
money = 100
year = 0

while(money < X):
    money += math.floor(money * 0.01)
    year += 1

print(year)

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

n = 1
coin = 100
while True:
    coin = int(coin*1.01)
    if coin >= x:
        print(n)
        exit()
    n += 1

Solution (Python):
x = int(input())
amount = 100
r = 0.01
year = 0

while amount < x:
    interest = int(amount * r)
    amount += interest
    year += 1

print(year)

Solution (Python):
import math
X = int(input())
a = 100
b = 1
for i in range(10000):
  a = math.floor(a*1.01)
  if a >= X:
    print(b)
    break
  else:
    b += 1

Solution (Python):



from math import *
from copy import *					
from heapq import *					
from string import *				
from random import *				
from bisect import *				
from sys import stdin				
from sys import maxsize				
from operator import *				
from itertools import *				
from collections import Counter		
from collections import defaultdict 

'''

'''

def solve(l):
	n = len(l)
	

a = int(stdin.readline())
f = 1
tmpp = [0]
p = 100
for i in range(1,3761):
	aa = int(p*(1.01))
	if(aa >= a):
		print(i)
		break
	else:
		p = aa

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

Solution (Python):
import math

X = int(input())
i = 0
Takahashi = 100
while Takahashi < X:
    Takahashi = math.floor(Takahashi * 1.01)
    i += 1

print(i)

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

Solution (Python):
string=input()
X=int(string)
Y=100
i=1
while True:
  Y=int(float(Y)+float(Y*1/100))
  if Y>=X:
    print(i)
    break
  i=i+1

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

Solution (Python):
import math

x = float(input())



i = 0
ans = 100
while ans < x:
    ans = math.floor(ans * 1.01)
    i += 1

print(i)

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

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

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

while X > money:
  ans += 1
  money += int((money)*0.01)
  
print(ans)

Solution (Python):
import sys
x=int(input())
n=100
for i in range(3800):
    n*=1.01
    n=int(n)
    if n>=x:
        print(i+1)
        sys.exit()

Solution (Python):

import numpy as np
import math

n = int(input())

total = 100
i = 0

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

Solution (Python):
import sys

n = 100
d = 0
x = int(sys.stdin.readline())

while (n < x):
	n = (n * 101) // 100
	d += 1

print(d)

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

Solution (Python):
x = int(input())
money = 100
cnt = 0
for _ in range(10000):
    cnt += 1
    money *= 1.01
    money = int(money)
    if money >= x:
        print(cnt)
        exit()

Solution (Python):
from math import floor,ceil,sqrt,factorial,log
from collections import Counter, deque
from functools import reduce
import numpy as np
def S(): return input()
def I(): return int(input())
def MS(): return map(str,input().split())
def MI(): return map(int,input().split())
def FLI(): return [int(i) for i in input().split()]
def LS(): return list(MS())
def LI(): return list(MI())
def LLS(): return [list(map(str, l.split() )) for l in input()]
def LLI(): return [list(map(int, l.split() )) for l in input()]
def LLSN(n: int): return [LS() for _ in range(n)]
def LLIN(n: int): return [LI() for _ in range(n)]

X = I()

a = 10**20
q = 0.01
cnt = 0
k = 100
for i in range(1, a):
    k += k * q
    k = floor(k)
    if k >= X:
        print(i)
        exit()

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




amt=100

for i in range(1,4000):
    amt=amt*1.01
    amt=math.floor(amt)
    if amt>=x:
        print(i)
        break

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

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

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

while t < X:
    c = c + 1
    t = int(t * 1.01)

print(c)

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

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

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

Solution (Python):
import math
x = float(input())
res = math.log(x / 100) / math.log(1.01)
p = 100
res = 0
while p < x:
	p *= (1.01)
	p = int(p)
	res += 1
print(res)

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

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

count=0
XX=100
while(X>XX):
    XX=math.floor(XX*1.01)
    count+=1
print(count)

Solution (Python):
input_n = input()
n = int(input_n)

count_year = 0
money = 100

while True:
    count_year += 1
    money = int(money * 1.01)

    if money >= n:
        print(count_year)
        break

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

Solution (Python):
from math import floor
x = int(input())
current = 100
for t in range(10**18):
  if current >= x: break
  current = floor(1.01*current)
print(t)

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

Solution (Python):
import math

X = int(input())

bit = True
base = 100
n = 0

while bit:
  if base >= X:
    print(n)
    bit = False
  n += 1
  base += math.floor(base * 0.01)

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())
m = 100
y = 0
while m < x:
  m = math.floor(m * 1.01)
  y += 1

print(y)

Solution (Python):

def main():
    x = int(input())

    a = 100
    while a < x:
        a = int(a * 1.01)
        yield 1

print(sum(main()))

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

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

r=0.01

count=0
while True:
    count +=1
    money = int(money*(1+r))
    if x<=money:
        print(count)
        break

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

Solution (Python):


import math



X = int(input())


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


if __name__ == "__main__":
    main()

Solution (Python):
import math

x = int(input())
r = 0.01
i = 0
s = 100

while True:
    i += 1
    s = math.floor(s * (1 + r))
    if s >= x:
        print(i)
        break

Solution (Python):
import math

X = int(input())

money = 100
rate_count = 0

for i in range(10**18):
  money += math.floor(money * 0.01)
  rate_count += 1
  if money >= X:
    print(rate_count)
    break

Solution (Python):
import math
X = int(input())
money = 100
counts=0
while True:
    money=money+math.floor((money*0.01))
    counts+=1
    if X<=money:
        print(counts)
        break

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

yokin=100
for i in range(10**6):
    yokin=yokin*101//100
    if(yokin>=x):
        print(i+1)
        break

Solution (Python):
import math
X=int(input())
y=1
z=100
for _ in range(X):
    if math.floor(z*1.01) >= X:
        print(y)
        break
    else:
        z=math.floor(z*1.01)
        y +=1

Solution (Python):
x = int(input())
def ans():
    deposit = 100
    year = 0
    while True:
        deposit  = int(deposit*1.01)
        year +=1
        if deposit < x:
             continue
        else:
            print(year)
            return

ans()

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

y = 0
m = 100
while m < X:
  m = int(m * 1.01)
  y = y + 1
  
print(y)

Solution (Python):
import math
k=int(input())
N=100
c=0
while N<=k:
  N+=math.floor(N*0.01)
 
  c+=1
  if N>=k:
    break
print(c)

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

Solution (Python):

import math

x = int(input())
num = int(100*1.01)
n = 1
while True:
    if x <= int(num):
        break
    else:
        n += 1
        num = int(num*1.01)
        
print(n)

Solution (Python):
import math

def main():
    b = 100
    r = 0.01
    n = 0
    target = int(input())
    while b < target:
        n += 1
        b = math.floor(b*((1+r)))
    print(n)   
    
if __name__ == "__main__":
    main()

Solution (Python):
import math

X = int(input())
Y = 100
count = 0
while Y < X:
    Y = math.floor(Y * 1.01)
    count += 1
print(count)

Solution (Python):

import sys


X = int(input())
start =100
riritu =1
risi =0
i=0
syojikin =start
while X >= syojikin:
    i +=1
    risi =int(syojikin *riritu/100)
    syojikin +=risi
    if X <=syojikin:
        
        break

print(i)

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

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

Solution (Python):





def main():
    print(resolve())


def resolve():
    X = int(input())

    c = 100
    for year in range(1, 10**9):
        c = c * 101 // 100
        if c >= X:
            return year


if __name__ == "__main__":
    main()

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

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

for i in range(1,4000):
    a = math.floor(a * 1.01)
    if a >= x:
        print(i)
        break

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

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

print(count)

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

i = 0
M = 100
while True:
  i += 1
  N = (M*1.01)//1
  if N >= X:
    ans = i
    break
  M = N

  
print(ans)

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

Solution (Python):


import math

input_a = input()
x = int(input_a)


a = 100
i = 0
while True:
    i = i + 1
    a = math.floor(a*1.01)
    if a >= x:
        print(i)
        break;

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

S = 100

Y = 0

while  S < X :
    S = int(S * 1.01) 
    Y += 1

print(Y)

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

save = 100
ans = 0

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

print(ans)

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

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

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

now = 100
ans = 0
while (now < X):
    ans += 1
    now += now//100

print(ans)

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

while True:
    m*=1.01
    m=int(m)
    n+=1
    if m>=X:
        break
print(n)

Solution (Python):
import math

in1 = int(input())
a = 100
count = 0

while a < in1 :
    a = math.floor(a*1.01)
    count += 1

print(count)

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

Solution (Python):
import math

X = int(input())
year = 0
deposit = 100

while(deposit < X):
  deposit *= 1.01
  deposit = math.floor(deposit)
  year += 1

print(year)

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

while a < x :
    a = math.floor(a*1.01)
    cnt += 1
print(cnt)

Solution (Python):
import math

x = int(input())
mt = 100
ans = 0
while x > mt:
    m = mt * 1.01
    mt = math.floor(m)
    ans += 1

print(ans)

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

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

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

print(count)

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

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

Solution (Python):
x = int(input())
amount = 100
year = 0
while amount < x:
    amount = int(float(amount) * 1.01)
    year += 1
print(year)

Solution (Python):
x = int(input())
money = 100
year = 0
a = 0
while a == 0:
    year += 1
    money = int(money*1.01)
    if money >= x:
        print(year)
        a = 1

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

cnt = 0
deposit = 100
while True:
    if deposit >= x:
        break
    deposit = deposit * 101 // 100
    cnt += 1

print(cnt)

Solution (Python):
X = int(input())
D = 100
Y = 0

while True:
  Y = Y + 1
  D = int(D * 1.01)
  if X <= D:
    print(Y)
    break

Solution (Python):
def solve(x):
    cur = 100
    for i in xrange(10000):
        if cur >= x:
            return i
        cur = int(cur * 1.01)
    return -1

assert solve(103) == 3
assert solve(101) == 1
assert solve(10 ** 18) != -1
assert solve(1000000000000000000) == 3760


x = int(raw_input())
print solve(x)

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

i = 0
money = 100
while money < x:
    money += int(money * 0.01)
    i += 1

print(i)

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

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

print(count)

Solution (Python):
import math

x=int(input())
yokin,years=100,0

while True:
  if yokin>=x:
    print(years)
    break
  yokin+=math.floor(yokin*0.01)
  years+=1

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

print(i)

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

Solution (Python):

X = int(input())


Y = 100


i = 0

while(X > Y):
    Y = int(Y * 1.01)
    i += 1

print(i)

Solution (Python):
x = int(input())
import sys
sys.setrecursionlimit(4000)

import math
p = math.log(1.01, 10)
q = int(math.log(x/100, 10)/p)


def f(n):
  if n == 1:
    return 101
  else:
    return int(f(n-1)*1.01)
n = q
while f(n) < x:
  n += 1
else:
  print(n)

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

print(ans)

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

Solution (Python):
import math

x = int(input())
depo = 100
n = 1
while math.floor(depo*1.01) < x:
  n += 1
  depo = math.floor(depo*1.01)
print(n)

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