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

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

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

Solution (Python):
import math


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

    money = 100
    for i in range(3760+1):
        money = math.floor(money * 1.01)
        if money >= X:
            print(i+1)
            return


if __name__ == '__main__':
    main()

Solution (Python):

def q2():
    x = int(input())
    m = 100
    years = 0
    while m < x:
        years += 1
        m = m * 1.01 // 1
    print(years)


q2()

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

while m<x:
    c=m//100
    m += c
    year+=1

print(year)

Solution (Python):
import math

x = int(input())
money = 100
cnt = 0
while True:
    money = math.floor(money * 1.01)
    cnt += 1
    if money >= x:
        print(cnt)
        exit()

Solution (Python):
from math import floor
import sys
input = sys.stdin.readline
X=int(input().rstrip('\n'))
res = 0
now = 100
while now < X:
  res += 1
  now = now + floor(now*0.01)
print(res)

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

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

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

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

money = 100
count = 0
while X > money:
    money += money//100
    count+=1

print(count)

Solution (Python):
from sys import stdin


def input():
    return stdin.readline().strip()


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

    y = 100
    for i in range(1, 10 ** 20):
        y = int(1.01 * y)
        if y >= X:
            print(i)
            return
    

if __name__ == "__main__":
    main()

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

hoge = 100
ans = 0
while True:
    ans += 1
    hoge = int(1.01 * hoge)
    if X <= hoge:
        print(ans)
        exit()

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

money = 100
for i in range(100000000000):
    money = int(money * 1.01)
    if money >= x:
        print(i + 1)
        break

Solution (Python):
import math

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

while m < X:
    res = res + 1
    m = m + math.floor(m * 0.01)

print(res)

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

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

import math

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

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

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

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

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

def main():
    X = int(readline())
    
    money = 100
    y = 0
    while money < X:
        money *= 1.01
        money = floor(money)
        y += 1
    
    print(y)


if __name__ == "__main__":
    main()

Solution (Python):
def I(): return int(input())
X = I()
ans = 0
money = 100
while 1:
    if money>=X:
        break
    money *= 1.01
    money //= 1
    ans += 1
print(ans)

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

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

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

print(out)

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

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

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

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

    return cnt


print(solve())

Solution (Python):


def run():
    X = int(input())
    val = 100
    k = 0
    while val < X:
        val = int(val * 1.01)
        k += 1
    print(k)

if __name__ == "__main__":
    run()

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

Solution (Python):
import math

x=int(input())
y=100
i=0
while True:
    y=math.floor(y*1.01)
    i+=1
    if y>=x:
        print(i)
        exit()

Solution (Python):



x = int(input())

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

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

now = 100
c = 1
while True:
    now = int(now * 1.01)
    if now >= X:
        print(c)
        quit()
    c += 1

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

a = 100
y = 0

while(True):
  if a >= r:
    break
  a *= 1.01
  a = int(a)
  y +=1

print (y)

Solution (Python):

X = int(input())

money = 100

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

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

t = 100
i=0
if t >= x:
    print("0")
else:
    for i in range(1,10**18):
        t=int(t*1.01)
        if t>=x:
            break
    print(i)

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

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

money = 100
for i in range(1,5000):
  money = int(money * 1.01)
  if money >= X:
    print(i)
    break

Solution (Python):
def main():
    S = int(input())
    
    C = 100
    
    cc = 1
    isfinish = False
    while not isfinish:
        C += int(C * 0.01)
        if C >= S:
            print(cc)
            isfinish = True
            break
        else:
            cc += 1
            
    
        
    
main()

Solution (Python):
def main():
    x = int(input())
    c = 100
    count = 0
    while not c >= x:
        c += int(c * 0.01)
        count += 1
    print(count)

if __name__ == '__main__':
    main()

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

Solution (Python):


x = int(input())
y = 100
for i in range(1, 10000000):
    y = int(y * 1.01)
    if y >= x:
        print(i)
        break

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

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

print(count)

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

saving = 100
cnt = 0
while saving < x:
  saving = int(saving * 1.01)
  cnt += 1
  
print(cnt)

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

ans = 0
val = 100

while 1:
    val = int(val*1.01)
    ans += 1
    if X <= val:
        print(ans)
        sys.exit()

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

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

ret = 0
cur = 100
while cur < X :
  cur = int(cur * 1.01)
  ret += 1
print(ret)

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

Solution (Python):
from math import log

X = int(input())

tmp = 100
count = 0
while True:
    count += 1
    tmp = int(tmp * 1.01)
    if tmp >= X:
        break
print(count)

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

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

temp = 100
a = 0
while True:
  a += 1
  temp = int(temp * 1.01)
  if temp >= x:
    break

print(a)

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

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

Solution (Python):

X=int(input())
temp=100
for i in range(10**6):
    temp=temp+temp//100
    if(temp>=X):
        break
print(i+1)

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

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

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


cur = 100

count = 0

while cur < X:
    count += 1

    cur = int(cur * 1.01)

print(count)

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

print(y)

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

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

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



if __name__ == '__main__':
    solve()

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

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

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

cnt = 0
res = 100
while res < x:
    res = int(res * 1.01)
    cnt += 1

print(cnt)

Solution (Python):
import math
x = int(input())
cash = 100
n = 0
while cash < x:
    n += 1
    cash = math.floor(cash * 1.01)
    
    if cash >= x:
        print(n)
    else:
        pass

Solution (Python):
import math

x = int(input())
money = 100
y = 1

while 1:
    if (math.floor(money * 1.01) >= x):
        print(y)
        break
    else:
        y += 1
        money = math.floor(money * 1.01)

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

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

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

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

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

print(i)

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

now = 100

for i in range(1, 10000):
    now = math.floor(now * 1.01)
    if now >= x:
        print(i)
        exit()

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

money = 100
for i in range(1, 10000000):
    money = int(1.01 * money)
    if money >= x:
        print(i)
        break

Solution (Python):
import numpy as np
if __name__ == "__main__":
    
    
    
    x = int(input())
    y = 1
    m = 100

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

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

Solution (Python):


import sys
readline = sys.stdin.readline
read = sys.stdin.read


x, = [int(i) for i in read().split()]

a = 100
i = 0
while a < x:
    i += 1
    a = a*101//100

print(i)

Solution (Python):
from sys import stdin
def main():
    
    readline=stdin.readline
    X=int(readline())
    res=100
    count=0
    while res<X:
        count+=1
        res*=1.01
        res//=1
    print(count)
if __name__=="__main__":
    main()

Solution (Python):
import math

x = int(input())
m = 100

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

print(y)

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

n = 0

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

print(n)

Solution (Python):
def calc(x):
    return int(x * 1.01)

X = int(input())
val = 100
y = 0
while True:
    if val >= X:
        print(y)
        break
    val = calc(val)
    y += 1

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

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

ans = 0
savings = 100

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

print(ans)

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

cnt = 0
first = 100

while True:
    first += int(first*0.01)
    cnt += 1
    if X <= first:
        break

print(cnt)

Solution (Python):
from math import log, ceil
x = int(input())
r = 100
c = 0
while r < x:
    r *= (101 / 100)
    r = int(r)
    c += 1
print(c)

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

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

ans = 0
money = 100
while True:
    if money >= x: exit(print(ans))
    ans += 1
    money = (money*1.01) // 1

Solution (Python):
from math import floor

x = int(input())
s = 100

t = 0
while s < x:
	t += 1
	s = floor(s*1.01)
print(t)

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

print(c)

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

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

c = 100

y = 0
while(c < X):
    y+=1
    c = c + math.floor(c*0.01)
print(y)

Solution (Python):
from sys import stdin
import sys




X=int(input())

Y=100
cnt=0
while True:
    Y=int(Y*1.01)
    cnt+=1
    if Y>=X:
        print(cnt)
        sys.exit()

Solution (Python):










import math

X = int(input())
y = 0
m = 100

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

print(y)

Solution (Python):
def main():
    X = int(input())
    n = 100
    cnt = 1
    while True:
        n =int(n*1.01)
        if n >= X:
            print(cnt)
            return
        cnt += 1
        
if __name__=='__main__':
    main()

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

Solution (Python):
import math

x=int(input())

money = 100
year = 0

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

print(year)

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

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

Solution (Python):
import random
import math
LI = lambda: list(map(int,input().split()))
MI = lambda: map(int,input().split())
yes = lambda: print("Yes")
no = lambda: print("No")
I = lambda: list(input())
J = lambda x: "".join(x)
II = lambda: int(input())
SI = lambda: input()

t = II()
temp = 100
i = 0
while True:
	i+=1
	temp*=1.01
	temp = int(temp)
	if temp>=t:
		print(i)
		break

Solution (Python):
import sys
import math  
import bisect  
import queue  


def input():
    return sys.stdin.readline().rstrip()


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

    n = 0
    a = 100
    while a < X:
        a = int(a * 1.01)
        n += 1

    print(n)


if __name__ == '__main__':
    main()

Solution (Python):
from math import sqrt,ceil



n=int(input())

s=100
c=0
while(s<n):
    p=s//100
    s=s+p
    c+=1
    
print(c)

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

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

Solution (Python):
import math
N = int(input())
y = 100
count = 0
for i in range(10**18):
    if y >= N:
        print(count)
        break
    y = math.floor(y*1.01)
    count += 1

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

Solution (Python):

import sys

input = sys.stdin.buffer.readline


def cal(x):

    bl = 100
    c = 0

    while bl < x:
        c += 1
        bl = int(bl * 1.01)

    return c


x = int(input())

print (cal(x))

Solution (Python):
import numpy as np
import math
import scipy as sp
import queue
import collections

MOD = 10 ** 9 + 7
INF = 10 ** 9

def main(kwargs):
    x = kwargs["x"]
    n = 100
    res = 0

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

    return res

if __name__ == "__main__":
    kwargs = {}

    cin = input().split()
    
    
    kwargs["x"] = [int(i) for i in cin][0]
    

    cout = main(kwargs)
    print(cout)

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

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

print(y)

Solution (Python):
from collections import defaultdict,deque
import sys, heapq, bisect, math, itertools, string, queue, copy, time
sys.setrecursionlimit(10**8)
input = sys.stdin.readline
INF = float('inf')
mod = 10**9+7
eps = 10**-7
def inp():
    '''
    一つの整数
    '''
    return int(input())
def inpl():
    '''
    一行に複数の整数
    '''
    return list(map(int, input().split()))


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

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

Solution (Python):
import math

x = int(input())

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

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

a = 100
count = 0
import math
while a < x:
    count += 1
    a = math.floor(a*1.01)

print(count)

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

ans = 0
n = 100
while n < x:
    n += n // 100
    ans += 1
print(ans)

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

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

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

Solution (Python):


import sys
import math
from bisect import bisect_right as br
from bisect import bisect_left as bl
sys.setrecursionlimit(2147483647)
from heapq import heappush, heappop,heappushpop
from collections import defaultdict
from itertools import accumulate
from collections import Counter
from collections import deque
from operator import itemgetter
from itertools import permutations
mod = 10**9 + 7
inf = float('inf')
def I(): return int(sys.stdin.readline())
def LI(): return list(map(int,sys.stdin.readline().split()))

x = I()
ans = 0
a = 100
while 1:
    ans += 1
    a = int(1.01*a)
    if a >= x:
        print(ans)
        quit()

Solution (Python):
f = 100

x = int(input())
cnt = 0
while True:
    f = int(f * 1.01)
    cnt += 1
    if(f >= x):
        break

print(cnt)

Solution (Python):

import sys

stdin = sys.stdin
ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
ns = lambda: stdin.readline().rstrip() 


def main():
    x = ni()
    now = 100
    cnt = 0
    while 1:
        if now >= x:
            print(cnt)
            return
        now = int(now*1.01)
        cnt += 1
    return


if __name__ == '__main__':
    main()

Solution (Python):
import math

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

Solution (Python):
X = int(input())
answer = 0
m = 100
while True:
    answer += 1
    m = m + m // 100
    if m >= X:
        print(answer)
        exit()

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

Solution (Python):

import sys



def solve(X: int):
    A=100
    ans=1
    while True:
        A=int(A*1.01)
        if X<=A:
            print(ans)
            exit()
        else:
            ans+=1
    return



def main():
    def iterate_tokens():
        for line in sys.stdin:
            for word in line.split():
                yield word
    tokens = iterate_tokens()
    X = int(next(tokens))  
    solve(X)

if __name__ == '__main__':
    main()

Solution (Python):
def ii():return int(input())
def iim():return map(int,input().split())
def iil():return list(map(int,input().split()))
def ism():return map(str,input().split())
def isl():return list(map(str,input().split()))

x = ii()
mon = 100
for i in range(1,10000):
    mon *= 1.01
    mon = int(mon)
    if mon >= x:
        ans = i
        break
print(ans)

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

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

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

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

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

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

r = 100
cnt = 0
while r<X:
    r = int(r*1.01)
    cnt += 1
print(cnt)

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

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

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

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

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



dep=100
import math
ans=0
while True:
    ans+=1
    dep=math.floor(dep*1.01)
    if dep>=x:
        break
print(ans)

Solution (Python):

import sys

sr = lambda: sys.stdin.readline().rstrip()
ir = lambda: int(sr())
lr = lambda: list(map(int, sr().split()))

X = ir()
answer = 0
num = 100
while num < X:
    answer += 1
    num *= 1.01
    num = int(num)

print(answer)

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

years = 0

while money < x:
    money += int(money*0.01)
    years += 1

print(years)

Solution (Python):
import math
X = int(input())
y = float(100)
t = 0
while y < X:
  t += 1
  y = math.floor(y*1.01)
print(str(t))

Solution (Python):
import math

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

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

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

print(count)

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


a=100

count=0
while(1):
    count=count+1
    a=int(a*0.01+a)

    if(a>=X):
        print(count)
        break

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

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

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

Solution (Python):
import math

if __name__ == "__main__":
  x = int(input())
  money = 100
  count = 0
  while True:
    if x <= money:
      print(int(count))
      exit()
    money = math.floor(money*1.01)
    count += 1

Solution (Python):


X = int(input())



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

print(ans)







'''
counter = 0
while now<10**18:
    counter += 1
    now = int(now*1.01)
print(counter)
'''

Solution (Python):

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

print(n)

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

import math

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

    print(i)

if __name__ == '__main__':
    main()

Solution (Python):

import math
N = int(input())
k =100
x=0
while k < N:
    tmp = k*1.01
    k = math.floor(tmp)
    x +=1
print(x)

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

print(year)

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

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

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

print(year)

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

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

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

Solution (Python):


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

    cnt = 0
    curr = 100
    while curr < x:
        cnt += 1
        curr = int((curr * 1.01) // 1)

    print(cnt)


submit()

Solution (Python):
import sys
from collections import defaultdict, Counter, deque
from itertools import accumulate, permutations, combinations
from operator import itemgetter
from bisect import bisect_left, bisect_right, bisect
from heapq import heappop, heappush
from fractions import gcd
from math import ceil, floor, sqrt, cos, sin, pi
from copy import deepcopy




def main():
    X = int(input())
    ans = 100
    i = 0
    while True:
        if ans >= X:
            break
        ans += int(ans * 0.01)
        i += 1
    print(i)

if __name__ == '__main__':
    main()

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

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

while a<x:
  a=101*a//100
  d+=1

print(d)

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

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

print(count)

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

start = 100

count =0

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

Solution (Python):
a = 100
n = int(input())
c = 0
while(True):
    a += int((a * .01))
    if(a >= n):
        break
    c += 1   
print(c + 1)

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

while goal > m:
  m *= 1.01
  m = int(m)
  year += 1
print(year)

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

n = 0
m = 100
while m < x:
    m = (m * 101) // 100
    n += 1
print(n)

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

now=100
for n in range(1,10**5):
    now=int(now*1.01)
    if now>=x:
        break
print(n)

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

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

N = 100
cnt = 0
import math
while N < X:
    N = math.floor(1.01 * N)
    cnt += 1

print(cnt)

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

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

print(cnt)

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

print(y)

Solution (Python):
import math

X = int(input())

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

print(count)

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

now=100
count=0
while now<X:
    now=now+int(now*0.01)
    count+=1

print(count)

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

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

Solution (Python):
x = int(input())
ans = 100
count = 0
for i in range(4000):
    ans = int(ans*1.01)
    count += 1
    if ans >= x:
        print(count)
        exit()

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

Solution (Python):
def mapint_inp():
    return map(int, input().split())

def intinp():
    return int(input())

X = intinp()
Y = 100

ans = 0
while Y < X:
    if Y >= X:
        break
    Y += Y//100
    ans += 1

print(ans)

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

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

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

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

Solution (Python):
import sys
X=int(input())
year=1
m=100
while True:
  m+=int(m*0.01)
  if m>=X:
    print(year)
    sys.exit()
  year+=1

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

print(cnt)

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

print(res)

Solution (Python):


import sys
stdin = sys.stdin

def ns(): return stdin.readline().rstrip()
def ni(): return int(ns())
def na(): return list(map(int, stdin.readline().split()))

def main():
    x = ni()
    now = 100
    cnt = 0
    while x > now:
        now *= 1.01
        now = int(now)
        
        cnt += 1
    print(cnt)


if __name__ == "__main__":
    main()

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

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

Solution (Python):
import math

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

    start_num = 100
    max_num = 3760+1000
    for i in range(max_num):
        if start_num >= x:
            print(i)
            exit()
        start_num = start_num + math.floor(start_num * 0.01)

if __name__ == '__main__':
    main()

Solution (Python):
x = int(input())
temp=10**9
a=100
for i in range(1,100000):
    a+=a*0.01
    a=int(a)
    if a>=x:
        print(i)
        exit()

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

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

Solution (Python):
import math


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

Solution (Python):
import math
INT = lambda: int(input())
INTM = lambda: map(int,input().split())
STRM = lambda: map(str,input().split())
STR = lambda: str(input())
LIST = lambda: list(map(int,input().split()))
LISTS = lambda: list(map(str,input().split()))
def do():
    x=INT()
    year=0
    temp=100
    while temp<x:
        temp=int(temp*1.01)
        year+=1
    print(year)
if __name__ == '__main__':
    do()

Solution (Python):
X = int(input())
yen = 100
year = 10**18

for i in range(year):
    yen *= 1.01
    yen = int(yen)
    
    if X <= yen:
        break

print(i+1)