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 math

targetValue=int(input())

currentValue=100
cnt=0
while targetValue > currentValue:
    currentValue += int(currentValue/100)
    cnt+=1

print(cnt)

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

Solution (Python):
import math

N = int(input())

year = 0
thre = 100
while(N > thre):
  thre *= 1.01
  thre = math.floor(thre)
  year += 1


print(year)

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

cnt = 0
yokin=100

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

Solution (Python):

from collections import deque, defaultdict
import bisect
from math import factorial, sqrt, log, ceil, floor

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

    current = 100
    year = 0
    while current < X:
        current += floor(current * 0.01)
        year += 1
    print(year)


if __name__ == '__main__':
    main()

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

cnt = 0
k = 100
while True:
    k = int(k * 1.01)
    cnt += 1
    if x <= k:
        break

print(cnt)

Solution (Python):
import math

def main():
    x = int(input())
    y = 100
    i = 0
    while y < x:
        i += 1
        y *= 1.01
        y = math.floor(y)
    print(i)
main()

Solution (Python):

import math


def add(i):
    return math.floor(i * 1.01)


x = int(input())
s = 100
ans = 0
while True:
    s = add(s)
    ans += 1
    if (s >= x):
        print(ans)
        break

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

Solution (Python):
import math

X = int(input())

cnt = 0
save = 100
while True:
        cnt += 1
        save = math.floor(save * 1.01)
        if(save >= X):
                print(cnt)
                break

Solution (Python):
x = int(input())
cnt = 0
maney = 100
while maney < x:
  add_maney = int(maney*0.01)
  maney += add_maney
  cnt += 1
  
print(cnt)

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

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

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

now = 100
n = 0

while now < X:
    n += 1
    now = now * 101 // 100
print(n)

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

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

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

yokin=100
i=1
while True:
        yokin = yokin + int(yokin*0.01) 
        if yokin>=X:
            break
        i+=1
print(i)

Solution (Python):
import math
import sys

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

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

print(cnt)

Solution (Python):


import sys
input = sys.stdin.readline
import math
N = int(input())
x = 100
for i in range(N):
    x +=x//100
    if N <= x:
        
        print(i+1)
        sys.exit()

Solution (Python):
import math

k = int(input())

n = 0
m = 100

while m < k:
    m = m + math.floor(m*0.01)
    n += 1

print(n)

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

Solution (Python):
import math

X=int(input())
a=100
res=0

while(a<X):
  a=math.floor(a*1.01)
  res+=1

print(res)

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

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

_sum = 100
year = 0

while True:
    if _sum >= X :
        break
    _sum = math.floor(_sum * 1.01)
    year += 1

print(int(year))

Solution (Python):
x = int(input())
import sys
MAX = 10 ** 18
s = 100
for i in range(1, MAX):
  s = int(s * (1.01))
  if s >= x:
    print(i)
    sys.exit()

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

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

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

now = 100

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

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

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

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
x=int(input())
q=100
i=0
while(q<x):
    q=math.floor(q*1.01)
    i=i+1
print(i)

Solution (Python):
import math
s = input().split()
x=int(s[0])
a=100
ans=0
while a<x:
    a=math.floor(1.01*a)
    ans+=1
print(ans)

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

print(y)

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

Solution (Python):
x = int(input())
a = 100
i = 0
c = 0
while True:
    c += 1
    i = a * 0.01
    a = int(a + i)
    if a >= x:
        print(c)
        exit(0)

Solution (Python):
import sys
import os

def file_input():
    f = open('../Beginner_Contest_165/input.txt', 'r')
    sys.stdin = f

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

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

if __name__ == '__main__':
    main()

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

print(count)

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

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

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

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

print(cnt)

Solution (Python):
X = eval(input())
x = 100
k = 0
while x < X:
    k += 1
    interest = int(x * 0.01)
    x += interest
print(k)

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

print(c)

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

print(y)

Solution (Python):
from sys import stdin


def main():
    input = lambda: stdin.readline()[:-1]
    X = int(input())

    ans, n = 1, 100
    while 1:
        n = int(n * 1.01)
        if n >= X:
            break
        ans += 1
    print(ans)


main()

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

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

print(y)

Solution (Python):
n = int(input())
m = 100
i = 0
while(m<n):
    l = int(m*0.01)
    m = m+l
    i += 1
print(i)

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

yokin = 100
i = 0
while yokin < x:
    yokin = int(yokin * 1.01)
    i += 1

print(i)

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

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

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

Solution (Python):
import math
x = int(input())
n = 100
ans = 1

while(1):
    n = math.floor(n*1.01)
    if n >= x:
        break
    else:
        ans += 1

print(ans)

Solution (Python):

from sys import stdin, stdout


def read():
    x0 = stdin.readline().rstrip()
    return x0


def __main__():
    n = int(read())
    x = 100
    res = 0

    while x < n:
        x += x // 100
        res += 1

    r = str(res) + '\n'
    stdout.write(r)

    


    
    

__main__()

Solution (Python):
import math
x = int(input())
n = 100
for i in range(10**16):
    n = math.floor(n+n*0.01)
    if n >= x:
        ans = i + 1
        break
print(ans)

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

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

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

Solution (Python):
X = int(input())
yokin = 100
cnt = 0

while yokin < X:
  yokin = (yokin * 1.01) // 1
  cnt += 1

print(cnt)

Solution (Python):
k=int(input())
c=100
d=100
for i,x in enumerate( range(5999999)):
    d=int(d*1.01)
    if d>=k:print(i+1);exit()

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

for y in itertools.count(1):
    x = x * 1.01
    x = math.floor(x)
    if target <= x:
        print(y)
        break

Solution (Python):
X = int(input())
x = 100
r = 1.01
for i in range(10000000):
    x = int(x*1.01)
    if x>=X:
        print(i+1)
        break

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

Solution (Python):
x=int(input())
flag="False"
n=0
y=100
while flag=="False":
  n+=1
  y=int(y*1.01)
  if y>=x:
    flag="True"
print(n)

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

Solution (Python):
import math
X = int(input())
p = 100
i = 0
for i in range(10000000):
    i+=1
    p = math.floor(p*1.01)
    if X <= p:
        print(i)
        break

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

N=100
i=1
while N<K:
    N=N+math.floor(N*0.01)
    if N>=K:
        print(i)
        break
    else:
        i+=1

Solution (Python):

X=int(input())

m=100
ans=0
for i in range(4000):
    
    m=int(m*1.01)
    ans+=1
    if m>=X:
        break

print(ans)

Solution (Python):
import math
x = float(raw_input())

def f(x):
	
	c = 0
	q = 100
	while(q < x):
		q *= 1.01
		q = int(q)
		c+= 1
	return c
print f(x)

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

s = 100
y = 0
while s < x:
    s = s + s // 100
    y = y + 1

print(y)

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

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

print(cnt)

Solution (Python):
import math
x = int(input())
frag = 0
i = 1
money = 100
while(frag == 0):
    money = math.floor(money * 1.01)
    if money >= x:
        frag = 1
        break
    if frag == 0:
        i = i + 1

print(i)

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

Solution (Python):
import queue
import copy
import math
from collections import deque
import bisect
from decimal import Decimal


x = Decimal(input())

ans = 0
m = 100
while True:
    m = math.floor(m * 1.01)
    ans += 1
    if x <= m:
        break

print(ans)

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())
ans=0
n=100
while n<X:
    n=int(n*1.01)
    ans+=1
print(ans)

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

Solution (Python):
import math
X =int(input())
Yokin = 100
i = 0

while all:
    Yokin = math.floor(Yokin * 1.01)
    i+=1
    if(Yokin>=X):
        break
print(i)

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

Solution (Python):
import math

x_target = int(input())

x = 100
n = 0

while x < x_target:
  x = math.floor(x * 1.01)
  n += 1

print(n)

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

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

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

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

cash = 100
year = 0
while cash < X:
  cash = int(cash * 1.01)
  year += 1
print(year)

Solution (Python):
import math
x=int(input())
ans=0
temp=100
for i in range(1,10000):
    if int(temp*1.01) >= x:
        ans=i
        break
    else:
        temp=math.floor(temp*1.01)
print(ans)

Solution (Python):
import math
X=int(input())
ans=100
count=0
for i in range(10**25):
  if ans>=X:
    break
  ans+=math.floor(ans*0.01)
  count+=1
print(count)

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

print(ans)

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

a = 100
b = 0
while a < X:
    a = a*1.01//1
    b += 1
else:
    print(b)

Solution (Python):




def main():

    
    first_input = list(map(lambda x:int(x), input().split(" ")))
    

    
    
    

    
    

    X = first_input[0]

    cash = 100
    count_year = 0
    while True:
        count_year = count_year+1
        cash = int(cash*1.01)
        if cash>=X:
            print(count_year)
            return

if __name__ == '__main__':
    main()

Solution (Python):
X= int(input())
val = 100
for n in range(100000000):    
    val = int(val*1.01)
    if val >= X:
        print(n + 1)
        break

Solution (Python):
import math

x = int(input())

n = 100
for y in range(1, 999999999):
    n *=1.01
    n = math.floor(n)
    if n >= x:
        print(y)
        break

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

count=0

money=100

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

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

print(ans)

Solution (Python):
import sys

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

while True:
    gankin*=1.01
    gankin = int(gankin)
    i += 1
    if gankin>=X:
        print(i)
        sys.exit()

Solution (Python):
def input_int_list():
    return [int(thing) for thing in input().split(" ")]

def int_input():
    return int(input())


def print_ans(string):
    print(string)
    exit()

def yes():
    print("Yes")
    exit()

def no():
    print("No")
    exit()


if __name__ == '__main__':
    X=int_input()
    yokin=100
    for i in range(5000):
        yokin=yokin*1.01//1
        if yokin>=X:
            print_ans(i+1)

Solution (Python):
import math

X = int(input())

n = 0
Y = 100
while True:
    n+=1
    Y = int(Y * 1.01)
    if Y >= X:
        break

print(n)

Solution (Python):
x=int(input())
cnt=0
s=100
while s<x:
    s += int(s * 0.01)
    cnt += 1
else:
    print(cnt)

Solution (Python):
import math
import sys
readline = sys.stdin.readline
read = sys.stdin.read

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

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

Solution (Python):
X=int(input())
y=100+int(100*0.01)
c=1
while True:
    y=y+int(y*0.01)
    c+=1
    if X<=y:
        break
print(c)

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

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

print(count)

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

a = 100
b = 1

ans = 0
while True:
    ans += 1
    a += b
    if x <= a:
        break
    b = a // 100

print(ans)

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

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

Solution (Python):
import math

X=int(input())

A=100
n=0
while X>A:
    A *= 1.01
    
    A=int(A)
    
    n+=1


print(n)

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

Solution (Python):


import sys
import pprint

sys.setrecursionlimit(10 ** 6)

class Logger:
	def __init__(self, debug):
		self.debug = debug
	def print(self, *args):
		if self.debug:
			pprint.pprint(args)


def main():
	log = Logger(1)
	n = int(sys.stdin.readline())
	x = 100
	
	cnt = 0
	while x < n:
		x = int(x * 1.01)
		cnt += 1
	print(cnt)

main()

Solution (Python):
import math

def main():
    x = int(input())
    m = 100
    n = 0
    while True:
        if m >= x:
            break
        m += int(m * 0.01)
        n += 1
    print(n)

if __name__ == '__main__':
    main()

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

cnt=0
money=100
for i in range(1,3761):
    cnt+=1
    money=int(money*1.01)
    if money>=X:
        print(i)
        exit()

Solution (Python):
import math

X = int(input())

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

Solution (Python):
x=int(input())
a=100
s=1

while True:

    a=a+int(a*0.01)

    if a>=x:

        print(s)
        break

    s+=1

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

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

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

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

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

print(n)

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

Solution (Python):
import math
X = int(input())
i = 1
m = 100
while True:
    m = int(1.01 * m)
    if m >= X:
        ret = i
        break
    i += 1
print(ret)

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

Solution (Python):

x = (int)(input())

i = 100
y = 0

while( i < x ):
    i = (int)(i / 100) + i
    y += 1

print(y)

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

ans = 100
count = 0

while ans <= X:
    if ans == X:
        print(count)
        sys.exit()
    count = count + 1
    ans = ans + math.floor(ans*0.01)
    
    

print(count)

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

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

Solution (Python):
X = int(input())
A = 100
cnt = 0

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

print(cnt)

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

year = 0
yen = 100
while 1:
    year += 1
    yen *= 1.01
    yen = int(yen)
    if yen >= x :
        break
print(year)

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

print(count)

Solution (Python):

X=int(input())




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

Solution (Python):
import math

a=int(input())
t=100
for i in range(10000):
    t=math.floor(t*1.01)
    if t >=a:
        print (i+1)
        break

Solution (Python):
import math

X = int(input())

att = 100
for count in range(1,1000000000000000020):
    att = math.floor(att * 1.01)
    if att >= X:
        print(count)
        break

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

c = 100
for i in range(1, 10**18):
    c = int(c * 1.01)
    if X <= c:
        print(i)
        break

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

cash = 100
year = 0

while cash < x :
    year += 1
    cash = cash + math.floor(cash*0.01)

print(year)

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

count = 0

num = 100

for _ in range(10**9):
  num += int(num * 0.01)
  count += 1

  if num >= x:
    break

print(count)

Solution (Python):
class abc_165:
    
    def __init__(self):
        pass
    
    def A(self):
        K=int(input())
        AB=list(map(int,input().split()))
        flag=False
        
        for i in range(AB[0],AB[1]+1):
            if i%K==0:
                flag=True
                break
            else :pass
        
        if flag==True:print("OK")
        else: print("NG")
    
    def B(self):
        X=int(input())
        mane=100
        count=0
        
        while(mane<X):
            mane+=int(mane*0.01)
            count+=1
        
        print(count)    
    
    def C(self):
        pass
        
    def D(self):
        pass
    
    def E(self):
        pass
    
    def F(self):
        pass
    
    
if __name__=='__main__':
    obj=abc_165()
    obj.B()

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

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

Solution (Python):
import math


def resolve():
    X = int(input())
    ans = 100
    year = 0
    while ans < X:
        ans = math.floor(ans * 1.01)
        year += 1

    print(year)


resolve()

Solution (Python):
import math

x = int(input())

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

  if money >= x:
    break

print(i)

Solution (Python):
import math
x = int(input())
y = 100.0
for i in range(1, 10000, 1):
    y = math.floor(y * 1.01)
    if y >= x:
        print(i)
        exit()

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

Solution (Python):
X = int(input())
yen = 100
day = 0

for i in range(10**9):
    day += 1
    yen *= 1.01
    yen = int(yen)
    if X <= yen:
        print(day)
        exit()

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

deposit = 100
years = 0

while True:
    if deposit >= X:
        break
    deposit *= 1.01
    deposit = int(deposit)
    years += 1

print(years)

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

yen = 100
for i in range(10**18):
    yen = math.floor(yen*1.01)
    if yen >= x:
        print(i+1)
        exit()

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

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

ans = 0

yen = 100
while X > yen:
    yen = math.floor(yen * 1.01)
    ans += 1

print(ans)

Solution (Python):
s = int(input()) 
p = 100
for i in range(5000):
    intr = p//100
    p+=intr
    if p>=s:
        print(i+1)
        break

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

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

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

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

now = 100
start = 100
year = 0

while now < x:
  year += 1
  now = math.floor(now * 1.01)

print(year)

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

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

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

print(ans)

Solution (Python):
import sys

sys.setrecursionlimit(10**7)
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
ns = lambda: readline().rstrip()
ni = lambda: int(readline().rstrip())
nm = lambda: map(int, readline().split())
nl = lambda: list(map(int, readline().split()))
printn = lambda x: print('\n'.join(x))

x = ni()
v = 100
for i in range(1, 4000):
    v += v // 100
    if v >= x:
        print(i)
        break

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

Solution (Python):
import math
x = float(input())
a = 1
y = float(100.0)
while True:
	y *= 1.01
	y = math.floor(y)
	if y >= x:
		print(a)
		break
	a += 1

Solution (Python):
x = int(input())
a = 100
for i in range(1, 4000):
    a = a + (1/100)*a
    a = int(a)
    if a>=x:
        print(i)
        break

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

base = 100
year = 0

while x > base:
     year += 1
     base = math.floor(base + base * 0.01)
     
print(year)

Solution (Python):
k = int(input())
n = 100
for i in range(1, 10**18):
    n = (n * 101) // 100
    if n >= k:
        print(i)
        exit()

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

print(cnt)

Solution (Python):
i=int(input())
sum=100
for j in range(1,100000000):
    sum=int(sum*1.01)
    if sum>=i:
        print(j)
        break

Solution (Python):
x=int(input())
keep=100
ans=0
while x>keep//1:
    keep=keep//1*(101)//100
    ans+=1
print(ans)

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

ans = 0
y = 100

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

Solution (Python):


import sys

current = 100
count = 0
X = int(input())

def run(num, count):
    num = int(num * 1.01)
    count += 1
    return num, count 
    
while X > current:
    current, count = run(current, count)

print(count)

Solution (Python):
import math

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

    ans = 0
    interest = 100
    while True:
        if X <= interest:
            break

        interest = math.floor(interest*1.01)
        ans += 1

    print(ans)

if __name__ == '__main__':
    main()

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

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

Solution (Python):
import math
year = 0
sum = 100
yen = int(input())

while sum < yen:
    year += 1
    sum = math.floor(sum*1.01)
print(year)

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

Solution (Python):
from math import floor

X = int(input())

initial = 100
riritsu = 0.01
total = initial

year = 0

while total < X:
  total = total + floor(total * riritsu)
  year = year + 1

print(year)

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

Solution (Python):
import math

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

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

Solution (Python):
import math

x = int(input())

money = 100
count = 0

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

print(count)

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

i = 100
k = 1
while i < x:
  i = int(i * 1.01)
  k += 1

print(k - 1)

Solution (Python):
X = int(input())
y = 100
r = 0
c = 0
while True:
  if y < X:
    y = y + int(y*0.01)
  else:
    print(c)
    break
  c += 1

Solution (Python):
import math
math.floor(11/3)

k = int(input())

ans = 100
i = 0

while True:
  i = i+1
  ans = math.floor(ans * 1.01)


  if ans >= k:
    break

    
print(i)

Solution (Python):


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

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

print("{}".format(count))

Solution (Python):
import sys
rs = lambda: sys.stdin.readline().rstrip()
ri = lambda: int(rs())
rf = lambda: float(rs())
lrs = lambda: [_ for _ in rs().split()]
lri = lambda: [int(_) for _ in rs().split()]
lrf = lambda: [float(_) for _ in rs().split()]
import math
X = ri()
n = 100
for i in range(1, 10000):
    n = int(n * 1.01)
    if n >= X:
        print(i)
        exit()

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

years = 0
amount = 100
while amount < x:
    amount += amount//100
    years += 1

print(years)

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

N = X - 100
ans = 100
for i in range(10000):
  if X <= ans:
    print(i)
    break
  ans += ans // 100

Solution (Python):
import numpy as np

x = int(input())
base = 100

year = 0
while base < x:
    base = int(base * 1.01)
    year += 1

print(year)

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

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

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


ans = 1
p = 100
for i in range(1, 10**6):
    p = math.floor(p * (101) / 100)
    if(p >= X):
        print(ans)
        exit()
    else:
        ans += 1

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


deposit = 100
year = 0
while X > deposit:
    deposit = int(deposit * 1.01)
    year += 1

print(year)

Solution (Python):
import math

X = int(input())
S = 100

for i in range(1, X):
  R = math.floor(S * 0.01)
  S += R
  if X <= S:
    print(i)
    exit()

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

Solution (Python):
import math

X = int(input())

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

Solution (Python):


import math

X = int(input())

n = 0
money = 100

while True:
    n += 1
    money = math.floor(money)*1.01
    if money>= X:
        print(n)
        break

Solution (Python):
X = int(input())
now = 100
ans = 0
while True:
    if now >= X:
        print(ans)
        exit()
    else:
        now = int(now * 1.01)
        ans += 1

Solution (Python):
X = int(input())
i = 1
m = 100
while True:
    m += int(m*0.01)
    if m >= X:
        print(i)
        break
    else:
        i += 1

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

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

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

print(counter)

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

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

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

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

a = 100
counter = 0
while X > a:
    a = math.floor(a*1.01)
    counter += 1

print(counter)

Solution (Python):
import math 

target = int(input())
origin = 100
count = 0

while origin < target:
  origin = math.floor(origin * 1.01)
  count = count + 1

print(count)

Solution (Python):
x = int(input())
s = 100
cnt = 0

while s < x:
    s = int(s * 1.01)
    cnt += 1

print(cnt)

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

Solution (Python):
m = 100
target = int(input())
rate = 0.01
cnt_year = 0

while True:
    m += int(m * rate)
    cnt_year += 1
    if m >= target:
        print(cnt_year)
        break

Solution (Python):
import math

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

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

print(count)

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

count = 0
sum = 100
while sum < x:
    sum += int(sum*0.01)
    count += 1
print(count)

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

print(i)

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