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):
def main():
	X = int(input())
	low = 0
	high = 6000
	ans = 0
	while low <= high:
		mid = low + (high - low) // 2
		money = 100
		for i in range(1, mid + 1):
			money = int(money + (money * 1) / 100)
		if money >= X:
			ans = mid
			high = mid - 1
		else:
			low = mid + 1;
	return ans

if __name__ == '__main__':
	print(main())

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

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

a = 100
year = 0
while(x>a):
    a = int(1.01 * a)
    year += 1

print(year)

Solution (Python):

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

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

year_ = 0
tyokin = 100

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

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

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

cur = 100
n = 0
while cur < x:
    interest = int(cur * 0.01)
    cur += interest
    n += 1
print(n)

Solution (Python):
x = int(input())
deposit = 100
n = 0

while(x > deposit):
  deposit = int(deposit * 1.01)
  n += 1
  
print(n)

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

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

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

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

Solution (Python):
def main():
    x = int(input())
    a = 3760
    res = 100
    cnt = 0
    for i in range(1, a+1):
        res = int(res * 1.01)
        cnt += 1
        if res >= x:
            print(cnt)
            break
        
if __name__ == '__main__':
    main()

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())
cnt=0
money=100
while(1):
    money*=1.01
    money=int(money)
    cnt+=1
    if money >= x:
        break
    
print(cnt)

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

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

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

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

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

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

print(year)

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

print(ans)

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

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

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

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

C = 100
ans = 0

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

print(ans)

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

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

while balance < x:
    interest = int(1 / 100 * balance)
    balance += interest
    years=years+1

print(years)

Solution (Python):
x=int(input())
num=100
count=0
for i in range(x):
  num=int(num+num*1/100)
  count+=1
  if num>=x:
    print(count)
    break

Solution (Python):
import math
x = int(input())
i = 1
sum = 100
while True:
  sum = math.floor(sum * 1.01)
  if x <= sum:
    break
  i += 1
print(i)

Solution (Python):
def main():
  K = int(input())
  S = 100
  for i in range(1, 3761):
    S = int((S*101)/100)
    if S >= K:
      print(i)
      return      
main()

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

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

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

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

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

year = 0
num = 100

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

  
print(year)

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

i = 100
c = 0
while i < X:
    i = i + int(i * .01)
    c += 1
print(c)

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

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

    k = 100
    ans = 0
    for i in range(0, 10**18):
        if k >= X:
            print(i)
            break
        k = int(k * 1.01)

if __name__ == '__main__':
    main()

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

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

print(year)

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

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

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

Solution (Python):
def resolve():
    coin = 100
    goal = int(input())
    year = 0

    while(coin < goal):
        coin += int(coin * 0.01)
        year += 1

    print(year)

resolve()

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

ans = 0
Money = 100

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

print(ans)

Solution (Python):


import math

x = int(input())

money = 100
rate = 1.01

year = 0

while True:
    money = math.floor(money*rate)
    year += 1
    if money >= x:
        break

print(year)

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

count = 0
a = 100

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

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

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

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

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

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

print(year)

Solution (Python):

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

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

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

print(count)

Solution (Python):
import math
X = int(input())
A = []
A.append(100)
Frag = 0
for i in range(X-A[0]):
  A.append(math.floor(A[i]*1.01))
  if A[i+1] >= X:
    print(i+1)
    break

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

while d < x:
  d += d//100
  i += 1
else:
  print(i)

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

print(year)

Solution (Python):
x = int(input())
deposit = 100
for year in range(1, 10**10):
    deposit = int(deposit * 1.01)
    if deposit >= x:
        print(year)
        exit()

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

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

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

print(i)

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

while Money < X:
    Money = int(1.01 * Money)
    Year += 1
print(Year)

Solution (Python):
import math 
X=int(input())
mon=100
年=0

while X>mon:
    mon=math.floor(mon*1.01)
    年=年+1
print(年)

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

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

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

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

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

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

ans = 100
i = 1
while True:
    ans = int(ans*1.01)
    if ans >= X:
        print(i)
        exit()
    else:
        i += 1

Solution (Python):
X=int(input())
A=101
n=1
import math
while X>A:
    n+=1
    A=math.floor(A*101/100)
print(n)

Solution (Python):
import math as M
X = int(input())
P = 100
for i in range(1,4000):
    P += M.floor(P/100)
    if P>=X:
        print(i)
        break

Solution (Python):
import math

X = int(input())

total = 100
count = 0
while True:
    if total >= X:
        break

    total = total + math.floor(total*0.01)
    count +=1

print(count)

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

ans = 100
cnt = 0
while ans <= X:
    ans = ans + int(ans * 0.01)
    cnt += 1
    if ans == X:
        cnt -= 1

print(cnt)

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

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

balance = 100
ans = 0
while balance < x:
    balance = int(balance*0.01)+balance
    ans += 1

print(ans)

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

Solution (Python):
N = int(input())
s = 100
y = 0

def year():
  s = 100
  y = 0
  while 1:
    s = s + s/100*1//1
    y += 1
    
    if s >= N:
      print(y)
      exit()
      
year()

Solution (Python):
import math

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

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

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

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

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

Solution (Python):
import math

x = int(input())

m = 100
cnt = 0

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

Solution (Python):
x=int(input())
s=100
a=0
for a in range(0,100000000):
    s=int(1.01*s)
    if x<=s:
        print(a+1)
        break

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

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

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

    n = 100
    count = 0
    while x > n:
        n *= 1.01
        n = math.floor(n)
        count += 1
    print(count)
resolve()

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

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())

MONEY=100

Year=0

while True:
    MONEY=int(MONEY*1.01)
    Year+=1
    if MONEY>=X:
        break

print(Year)

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

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

print(year)

Solution (Python):

x=int(input())

s=100

from itertools import count

for c in count(0):
    if s >= x:
        print(c)
        exit()
    s = int(s * 1.01)

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

years = 0
money = 100
while money < X:
  money = money*101//100
  years += 1
  
print(years)

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

Solution (Python):
def main():
    X = int(input())
    ans = 0
    P = 100
    while P < X:
        ans += 1
        P += P // 100
    print(ans)
    return


main()

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

ori = 100
counter = 0
while(ori < X):
    ori = int(ori*1.01)
    counter += 1

print(counter)

Solution (Python):
import math

X=int(input())
count=0

atcor=100
atcor=int(atcor)


while True:
    
    if atcor>=X:
        print(count)
        break
    else:
        p=atcor/100
        atcor=atcor+p
        atcor=math.floor(atcor)
        count+=1

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

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

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

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

S = 100
Y = 0

while X > S:
    S += S // 100
    Y += 1

print(Y)

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

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

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

while money < x:
    money *= 1.01
    money //= 1
    year += 1

print(year)

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

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:
    m = int(m * 1.01)
    cnt += 1
print(cnt)

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

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

print(ans_year)

Solution (Python):
import sys
from collections import deque
import copy
def main():
    X = int(input())
    money = 100
    year = 0
    while money < X:
        money = int(1.01 * money)
        year += 1
    print(year)


if __name__ == '__main__':
    main()

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

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

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

Solution (Python):
import math

X = int(input())

deposits = 100
year = 0

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

print(year)

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

Solution (Python):
X = int(input())
x = 100
for i in range(100000):
  x = x*101//100
  if x >= X:
    print(i+1)
    exit()
print(-1)

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

if __name__ == '__main__':
    main()

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

Solution (Python):
import sys
from numba import njit


@njit('i8(i8)', cache=True)
def solve(X):
    money = 100
    res = 0
    while (money < X):
        money *= 1.01
        money = int(money)
        res += 1
    return res


def main():
    input = sys.stdin.buffer.readline
    X: int = int(input())
    print(solve(X))


if __name__ == '__main__':
    main()

Solution (Python):
import sys
from numba import njit


@njit('i8(i8)')
def solve(X):
    money = 100
    res = 0
    while (money < X):
        money *= 1.01
        money = int(money)
        res += 1
    return res


def main():
    input = sys.stdin.buffer.readline
    X: int = int(input())
    print(solve(X))


if __name__ == '__main__':
    main()

Solution (Python):
import sys


def solve(X):
    money = 100
    res = 0
    while (money < X):
        money *= 1.01
        money = int(money)
        res += 1
    return res


def main():
    input = sys.stdin.buffer.readline
    X: int = int(input())
    print(solve(X))


if __name__ == '__main__':
    main()

Solution (Python):
import sys
from numba import njit, i8


@njit(i8(i8), cache=True)
def solve(X):
    money = 100
    res = 0
    while (money < X):
        money *= 1.01
        money = int(money)
        res += 1
    return res


def main():
    input = sys.stdin.buffer.readline
    X: int = int(input())
    print(solve(X))


if __name__ == '__main__':
    main()

Solution (Python):
import sys


def solve(X):
    money = 100
    res = 0
    while (money < X):
        money *= 1.01
        money = int(money)
        res += 1
    return res


def main():
    input = sys.stdin.buffer.readline
    X: int = int(input())
    print(solve(X))


if __name__ == '__main__':
    main()

Solution (Python):
t_have = 100
t_need_achieve = int(input())
count_year = 0
while t_have < t_need_achieve:
    t_have += t_have // 100
    count_year += 1
print(count_year)

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

money = 100
count = 0

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

print(count)

Solution (Python):
from math import floor

x = int(input())

money=100
year = 0
while money < x:
    money = floor(1.01* money)
    year += 1

print(year)

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

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

year = 0
money = 100
i = 0

while i == 0:
    money += int(money * 0.01)
    if money >= X:
        i = 1
    year += 1

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

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

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

Solution (Python):
X=int(input())
count=0
i = 100
while X>i:
    i = int(i * (1+0.01))
    count = count +1

print(count)

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

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

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

a=100
r=1.01
y=0

while a<X:
    y+=1
    a=int(a*r)

print(y)

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

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

Solution (Python):
from math import log, ceil

x = int(input())

n = 100
c = 0
while n < x:
    n += n // 100
    c += 1

print(c)

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

YOKIN=100

COUNT=0
while X > YOKIN:
    YOKIN = int(YOKIN * 1.01)
    COUNT += 1

print(str(COUNT))

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

YOKIN=100

COUNT=0
while X > YOKIN:
    YOKIN = int(YOKIN * 1.01)
    COUNT += 1

print(str(COUNT))

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

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

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

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

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

print(count)

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

while y < x:
    y += int(y * 0.01)
    cnt += 1

print(cnt)

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

current = 100

year = 0
while(current < x):
    current += int(current * 0.01)
    year += 1

print(year)

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

Solution (Python):
import math

x = int(input())
k = 0
p = 100

while p < x:
    p = p + int(p/100)
    k = k + 1

print(k)

Solution (Python):
X=int(input(""))
rent=100
i=0

while rent<X:
    rent=int(rent*1.01)
    i=i+1

print(str(i))

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

M = 100
ans = 0
while M < X:
    M += M//100
    ans += 1

print(ans)

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

ans = 0
cnt = 100
while(1):
    cnt = int(cnt * 1.01)
    ans += 1
    if cnt >= x:
        print(ans)
        exit(0)

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

Solution (Python):

x = int(input())
p = 100
for i in range(10000):
    if p >= x:
        print(i)
        exit()
    p += p // 100

Solution (Python):
import math

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

Solution (Python):
import math
deposit = 100

x = int(input())
year = 0
while deposit < x:
    deposit = math.floor(deposit * 1.01)
    year += 1

print(year)

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

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

Solution (Python):

import math
X = int(input())
mon = 100
count = 0
while mon <= X:
    mon += math.floor(mon*0.01)
    count += 1
    if mon >= X:
        break
print(count)

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

year = 0
money = 100
while(True):
    money *= 1.01
    money = money // 1
    year += 1
    if(money >= x):
        break

print(str(year))

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

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

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

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

print(ans)

Solution (Python):
a = int(input())
b = 100
x = 0
for i in range(a):
    if b >= a:
        break
    else:
        b = b + int(b / 100)
        x = x + 1
print(x)

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

Solution (Python):
goal = int(input())
deposit = 100
year = 0

while deposit < goal:
    deposit = int(deposit * 1.01)
    year += 1

print(year)

Solution (Python):
import math


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

Solution (Python):
import bisect,collections,copy,heapq,itertools,math,numpy,string

import sys
def I(): return int(sys.stdin.readline().rstrip())
def LI(): return list(map(int,sys.stdin.readline().rstrip().split()))
def S(): return sys.stdin.readline().rstrip()
def LS(): return list(sys.stdin.readline().rstrip().split())
X = I()
x = 100
i = 0
while x < X:
  x = math.floor(x*1.01)
  i+=1
print(i)

Solution (Python):
from math import floor
n = int(input())
p = 100
i = 0
while(n > p):
    p = floor(p*1.01)
    i += 1
print(i)

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

Solution (Python):
import math

def child(n):
    return math.floor(n*1.01) 

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

while(value < x):
    value = child(value)
    ans +=1

print(ans)

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

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

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

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

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

Solution (Python):


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

while deposit < x:
	year += 1
	deposit = deposit * 101 // 100
print(year)

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

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

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

while True:
    if x <= m:
        break
    else:
        m += m // 100
        i += 1

print(i)

Solution (Python):
x = input()
a = 100
c = 0

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

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

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

print(count)

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

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

Solution (Python):
import math

x = int(input())

y=0
chokin=100
while(chokin<x):
    chokin = chokin + math.floor(chokin*0.01)
    y+=1

print(y)

Solution (Python):
import math

x=int(input())
trial=0
p=100
while p<x:
  trial+=1
  p=p*1.01
  p=math.floor(p)
print(trial)

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

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

Solution (Python):
n = 100
m = int(input())
a = 0
for i in range(1,10**18+1):
    n = n * 1.01
    n = n // 1
    if n >= m:
        a += i
        break

print(a)

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

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

money = 100
year = 0

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

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

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

Solution (Python):



def main():
    import sys
    input = sys.stdin.readline

    money = 100
    x = int(input())

    for i in range(1, 4000):
        money *= 1.01
        money = int(money)

        if money >= x:
            print(i)
            exit()


if __name__ == '__main__':
    main()

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

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

print(cnt)

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

Solution (Python):
import sys











stdin = sys.stdin
sys.setrecursionlimit(10 ** 7)
MIN = -10 ** 9
MOD = 10 ** 9 + 7
INF = float("inf")
IINF = 10 ** 18

def main():
    x = int(stdin.readline().rstrip())
    
    
    
    
    
    
    t = 100
    for i in range(10**10):
        t = t*1.01//1
        if t >= x:
            print(i+1)
            exit()


main()

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

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

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

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

deposit = 100
y = 0

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

print(y)

Solution (Python):
from sys import stdin, setrecursionlimit


def main():
    input = stdin.buffer.readline
    x = int(input())
    m = 100
    ans = 0
    while m < x:
        m = int(m * 1.01)
        ans += 1
    print(ans)


if __name__ == "__main__":
    setrecursionlimit(10000)
    main()

Solution (Python):
i=0
n=int(input())
while n>100:
    i+=1
    n=-(-n//1.01)
print(i)

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

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

Solution (Python):
x = int(input().rstrip())
v = 100

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

print(n)

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

Solution (Python):
import sys

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

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

Solution (Python):
import math

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

for i in range(3800):
    if (a < x):
        a = math.floor(a * 1.01)
        cnt += 1
    else:
        break

print(cnt)

Solution (Python):
X=int(input())
n=0
money=100
while money<=10**19:
    if money<X :
        money=int(money*1.01)
        n=n+1
    else :
        print(n)
        break

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

Solution (Python):

X = int(input())
dep = 100
cnt = 0
while dep<X:
    dep += dep*0.01//1
    cnt += 1
print(cnt)

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

sum = 100
count = 0

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

print(count)

Solution (Python):
if __name__ == '__main__':
    x = input()
    x = int(x)

    count = 0

    deposit = 100

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

    print(count)

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

def solve(value):
    current = 100
    for i in range(1000000):
        current = int(current * (1.01**1))
        if current >= value:
            print(i+1)
            return

solve(inp)

Solution (Python):

X=int(input())

i=100
oh=[]
while i<X:
    i+=i//100
    oh.append(i)
else:
    print(len(oh))

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

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

import math
P=100
for i in range(4000):
    P+=math.floor(P/100)
    if P<X:
        continue
    elif P>=X:
        print(i+1)
        break

Solution (Python):
from math import floor

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