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



Sample input:
103


Sample output:
3

Submission status: Wrong Answer

Solution code:
import sys
def Ii():return int(sys.stdin.buffer.readline())
def Mi():return map(int,sys.stdin.buffer.readline().split())
def Li():return list(map(int,sys.stdin.buffer.readline().split()))

x = Ii()
ans = 0
k = 100
while x > k:
  k = int(k*1.01)
  ans += 1
  
print(ans)

Submission status: Wrong Answer

Solution code:
import math
X = int(input())
price = 100
count = 0
while price<X:
  price = int(price*1.01)
  count += 1
print(count+1)

Submission status: Wrong Answer

Solution code:
import math
X = int(input())
price = 100
count = 0
while price<X:
  price = int(price*1.01)
  count += 1
print(count)

Submission status: Wrong Answer

Solution code:
import math
X = int(input())
price = 100
count = 0
while price<=X:
  price = int(price*1.01)
  count += 1
print(count)

Submission status: Wrong Answer

Solution code:
import math
a = int(input())
b = 100
c = 0
while True:
    b = b * 1.01
    b = math.floor(b)
    c += 1
    if a <= b:
        break
print(c)

Submission status: Wrong Answer

Solution code:
a = int(input())
b = 100
c = 0
while True:
    b = b * 1.01
    b = b // 1
    c += 1
    if a <= b:
        break
print(c)

Submission status: Wrong Answer

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

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

print(ans)

Submission status: Wrong Answer

Solution code:
X = int(input())
money = 100

for i in range(4000):
    tax = int(money * 0.01)
    money += tax
    if money >= X:
        print(i+1)
        exit()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def main():
    x = int(input())
    money = 100
    for i in range(10**5):
        if money >= x:
            print(i)
            return
        money += int(money*0.01)


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
from decimal import Decimal as dec

def main():
    x = int(input())
    money = 100
    for i in range(1, 10**6):
        money += int(money*dec(0.01))
        if money >= x:
            print(i)
            return

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
def main():
    x = int(input())
    money = 100
    for i in range(1, 10**5):
        money += int(money*0.01)
        if money >= x:
            print(i)
            return

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
X = int(input())
year = 0
deposit = 101
while deposit < X:
    deposit += int(str(deposit)[0: -2])
    year += 1
print(year)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = int(input())

m = 100
y = 0
while  m < x:
    y = y + 1
    m = m + int(m*0.01)

print(y)

Submission status: Wrong Answer

Solution code:
x = int(input())

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

print(y)

Submission status: Wrong Answer

Solution code:
x = int(input())
y = 0
z = 100

if x<=z:
  pass
else:
  while z<x:
    y+=1
    z = int((z*1.01)//1)

print(y)

Submission status: Wrong Answer

Solution code:
x = int(input())
y = 0
z = 100

if x<=z:
  pass
else:
  while z<x:
    y+=1
    x = int((x*1.01)%1)

print(y)

Submission status: Wrong Answer

Solution code:
x = int(input())
now = 100
risi = 0
if now + risi >= x:
    print(0)
    exit()
for i in range(1,100001):
  risi = now*0.01
  now += risi//1
  if now >= x:
    print(i)
    exit()

Submission status: Wrong Answer

Solution code:
x = int(input())
now = 100
risi = 0
if now + risi >= x:
    print(0)
    exit()
for i in range(1,100001):
  risi = now*0.01
  now += risi
  if now >= x:
    print(i)
    exit()

Submission status: Wrong Answer

Solution code:
x = int(input())
now = 100
for i in range(1,100001):
  risi = now*0.01
  if now + risi//1 >= x:
    print(i)
    exit()
  now += risi//1

Submission status: Wrong Answer

Solution code:
x = int(input())
now = 100
for i in range(1,100001):
  risi = now*0.01
  if now + risi >= x:
    print(i)
    exit()
  now += risi//1

Submission status: Wrong Answer

Solution code:
X = int(input())

money = 100
year = 0
while(money < X):
  money += money / 100
  year += 1

print(year)

Submission status: Wrong Answer

Solution code:
X = int(input())

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

print(year)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
from decimal import Decimal

X = int(input())
M = 100
y = 0
while X > M:
  M = math.floor(Decimal(M)*Decimal(1.01))
  y += 1
print(y)

Submission status: Wrong Answer

Solution code:
import math

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

Submission status: Wrong Answer

Solution code:
X = int(input())
M = 100
y = 0
while X > M:
  M = M*1.01
  M = int(M)
  y += 1
print(y)

Submission status: Wrong Answer

Solution code:
import math
x=int(input())
money=100
count=0
while x>money:
    money+=math.floor(money*(0.01))
    count+=1
print(count)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
x=int(input())
k=100
i=1
while True:
    k= math.floor(k*1.01)
    if k>=x:
        print(i)
        exit()
    i+=1

Submission status: Wrong Answer

Solution code:
import sys
from math import sqrt, gcd, ceil, log
from bisect import bisect
from collections import defaultdict, Counter
inp = sys.stdin.readline
read = lambda: list(map(int, inp().strip().split()))



def solve():
	n = int(input()); x = 100
	y = 0
	while x < n:
		x += int(x*.01)
		y += 1
	print(y)


	





		

if __name__ == "__main__":
	solve()

Submission status: Wrong Answer

Solution code:
import math

X = int(input())

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

print(year)

Submission status: Wrong Answer

Solution code:
from sys import exit
X = int(input())
x = 100
i = 0
while True:
    i += 1
    x = int(x * 1.01)

    if X <= x:
        print(i)
        exit()

Submission status: Wrong Answer

Solution code:
x=int(input())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = int(input())
y = 100
ans = 0

while y < x:
  ans += 1
  y = y * 1.01 // 1
  
print(ans)

Submission status: Wrong Answer

Solution code:
x=int(input())
a=100
i=0
while x>a:
    a=a*1.01//1
    i+=1

print(int(i))

Submission status: Wrong Answer

Solution code:
x=int(input())
a=100
i=0
while x>a:
    a=a*1.01//1
    i+=1

print(i)

Submission status: Wrong Answer

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

print(i)

Submission status: Wrong Answer

Solution code:
x=int(input())

i=1
while x>100*1.01**i:
    i+=1
print(i)

Submission status: Wrong Answer

Solution code:
X = int(input())
cnt = 0
yokin = 100
while X>yokin:
    yokin += int(yokin/100)
    cnt += 1
print(cnt)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = int(input())
a = 100
for i in range(1, 5000):
  a = int(a * 1.01)
  if a >= x:
    print(i)
    exit()

Submission status: Wrong Answer

Solution code:
x = int(input())
i = 0
a = 100
while x > a:
  i +=1
  a *= 1.01
print(i)

Submission status: Wrong Answer

Solution code:
X = int(input())
c = 100
ret = 0
while c < X:
  ret += 1
  c = int(c * 1.01)

print(ret)

Submission status: Wrong Answer

Solution code:
from collections import defaultdict as dd
from collections import deque
import bisect
import heapq

def ri():
    return int(input())

def rl():
    return list(map(int, input().split()))


def solve():
    x = ri()
    steps = 0
    bal = 100
    while bal < x:
        steps += 1
        bal = int(bal * 1.01)
    print (steps)






mode = 's'

if mode == 'T':
    t = ri()
    for i in range(t):
        solve()
else:
    solve()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x=int(input())
def f(n):
  a=100
  for i in range(0,n):
    a=int(a*1.01)
  return(a)

for i in range(10**18):
  if f(i)>=x:
    print(i)
    break

Submission status: Wrong Answer

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

n = math.log(X,1.01) - math.log(100,1.01)
result = math.ceil(n)
print(result)

Submission status: Wrong Answer

Solution code:
import sys
sys.setrecursionlimit(10 ** 9)
# input = sys.stdin.readline    ####
def int1(x): return int(x) - 1
def II(): return int(input())
def MI(): return map(int, input().split())
def MI1(): return map(int1, input().split())
def LI(): return list(map(int, input().split()))
def LI1(): return list(map(int1, input().split()))
def LLI(rows_number): return [LI() for _ in range(rows_number)]
def MS(): return input().split()
def LS(): return list(input())
def LLS(rows_number): return [LS() for _ in range(rows_number)]
def printlist(lst, k=' '): print(k.join(list(map(str, lst))))
INF = float('inf')
# from math import ceil, floor, log2
# from collections import deque
# from itertools import combinations as comb, combinations_with_replacement as comb_w, accumulate, product, permutations
# from heapq import heapify, heappop, heappush
# import numpy as np    # cumsum
# from bisect import bisect_left, bisect_right

from decimal import Decimal

def solve():
    X = II()

    mon = Decimal(100)
    for i in range(1, 4000):
        mon = Decimal(int(mon * Decimal(1.01)))
        if mon >= X:
            print(i)
            return

if __name__ == '__main__':
    solve()

Submission status: Wrong Answer

Solution code:
import sys
sys.setrecursionlimit(10 ** 9)
# input = sys.stdin.readline    ####
def int1(x): return int(x) - 1
def II(): return int(input())
def MI(): return map(int, input().split())
def MI1(): return map(int1, input().split())
def LI(): return list(map(int, input().split()))
def LI1(): return list(map(int1, input().split()))
def LLI(rows_number): return [LI() for _ in range(rows_number)]
def MS(): return input().split()
def LS(): return list(input())
def LLS(rows_number): return [LS() for _ in range(rows_number)]
def printlist(lst, k=' '): print(k.join(list(map(str, lst))))
INF = float('inf')
# from math import ceil, floor, log2
# from collections import deque
# from itertools import combinations as comb, combinations_with_replacement as comb_w, accumulate, product, permutations
# from heapq import heapify, heappop, heappush
# import numpy as np    # cumsum
# from bisect import bisect_left, bisect_right

def solve():
    X = II()

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

if __name__ == '__main__':
    solve()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
X = int(input())

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

Submission status: Wrong Answer

Solution code:
X = int(input())

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

Submission status: Wrong Answer

Solution code:
X = int(input())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

print(count)

Submission status: Wrong Answer

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

print(count)

Submission status: Wrong Answer

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

print(count)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x=int(input())
co = 0
mo = 100
while mo < x:
    mo = int(mo*1.01)
    co += 1
print(co)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
x = int(input())
money = 100.0
year = 0

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

Submission status: Wrong Answer

Solution code:
import math
x = int(input())
money = 100.0
year = 0

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

Submission status: Wrong Answer

Solution code:
import math
x = int(input())
money = 100.0
year = 0

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
X = int(input())

t = 100
result = 0
while t >= X:
    t += t // 100
    result += 1
print(result)

Submission status: Wrong Answer

Solution code:
n=int(input())
a=100
for i in range(10**18):
 a+=int(a/100)

 if a>=n:
  print(i+1)
  exit()

Submission status: Wrong Answer

Solution code:
n=int(input())
a=100
for i in range(10**18):
 a+=a/100

 if a>=n:
  print(i+1)
  exit()

Submission status: Wrong Answer

Solution code:
n=int(input())
 
for i in range(10**18):
 a=(int(100*(1+0.01)))**i
 if a>=n:
  print(i+1)
  exit()

Submission status: Wrong Answer

Solution code:
n=int(input())
 
for i in range(10**18):
 a=(int(n*(1+0.01)))**(i-1)
 if a>=n:
  print(i+1)
  exit()

Submission status: Wrong Answer

Solution code:
n=int(input())
 
for i in range(10**18):
 a=(int(n*(1+0.01)))**(i-1)
 if a>n:
  print(i+1)
  exit()

Submission status: Wrong Answer

Solution code:
n=int(input())
 
for i in range(10**18):
 a=(int(n*(1+0.01)))**i
 if a>n:
  print(i+2)
  exit()

Submission status: Wrong Answer

Solution code:
n=int(input())
 
for i in range(10**18):
 a=(int(n*(1+0.01)))**i
 if a>n:
  print(i)
  exit()

Submission status: Wrong Answer

Solution code:
n=int(input())
 
for i in range(10**18):
 a=(int(n*(1+0.01)))**i
 if a>n:
  print(i+1)
  exit()

Submission status: Wrong Answer

Solution code:
n=int(input())
 
for i in range(10**18):
 a=(n*(n+0.01))**i
 if a>n:
  print(i+1)
  exit()

Submission status: Wrong Answer

Solution code:
n=int(input())
 
for i in range(10**18):
 a=(int(n*(n+0.01)))**i
 if a>n:
  print(i)
  exit()

Submission status: Wrong Answer

Solution code:
n=int(input())

for i in range(10**18):
 a=(n*(n+0.01))**i
 if a>n:
  print(i)
  exit()

Submission status: Wrong Answer

Solution code:
from decimal import Decimal as dec

def main():
    x = int(input())
    m = 100
    for i in range(10**5):
        if m >= x:
            print(i)
            return
        m = int(dec(dec(m)*dec(1.01)))

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
def main():
    x = int(input())
    m = 100
    for i in range(10**4):
        if m >= x:
            print(i)
            return
        m = int(m*1.01)

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

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

while m < X:
  m = m + m * 0.01
  a += 1
print(a)

Submission status: Wrong Answer

Solution code:
import math
n=int(input())
c=100
for i in range(10**6):
  c=math.floor(c*1.01)
  if c>=n:
    print(i+1)
    break

Submission status: Wrong Answer

Solution code:
import math
n=int(input())
c=100
for i in range(10**6):
  c=math.floor(c*1.01)
  if c>n:
    print(i+1)
    break

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from decimal import Decimal

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

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

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

while True:
  money = int(money * 1.01)
  year += 1
  if money >= x:
    print(year)
    exit()

Submission status: Wrong Answer

Solution code:
x = int(input())

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

print(cnt)

Submission status: Wrong Answer

Solution code:
X = int(input())
tmp, i = 100, 0
while tmp < X:
    i += 1
    tmp *= 1.01
    tmp = int(tmp)
print(i)

Submission status: Wrong Answer

Solution code:
import sys
input = lambda: sys.stdin.readline().rstrip()
from decimal import Decimal

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

Submission status: Wrong Answer

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

X = int(input())

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

Submission status: Wrong Answer

Solution code:
x=int(input())

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

Submission status: Wrong Answer

Solution code:
x=int(input())

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

Submission status: Wrong Answer

Solution code:
x=int(input())

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

Submission status: Wrong Answer

Solution code:
x=int(input())

i=100
j=0
while i<x:
  i=int(i*1.01)
  j+=1
  
print(j-1)

Submission status: Wrong Answer

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

print(x)

Submission status: Wrong Answer

Solution code:
x = int(input())
ans = 100
count = 0

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

Submission status: Wrong Answer

Solution code:
x = int(input())
ans = 100
count = 0

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

Submission status: Wrong Answer

Solution code:
x = int(input())
ans = 100
count = 0

while True:
  ans += int(ans / 100)
  count += 1
  
  if ans >= x:
    print(count)
    break

Submission status: Wrong Answer

Solution code:
m,t= int(input()),100
for i in range(4000):
  t+=int(t/100)
  if t>=m:
    print(i+1)
    break

Submission status: Wrong Answer

Solution code:
m,t,n=int(input()),100,0
while t<m:
  t+=int(t/100)
  n+=1
print(n)

Submission status: Wrong Answer

Solution code:
import math
X = int(input())
a = 100
for i in range(1,200000):
  a = math.floor(a * 1.01)
  if a >= X:
    break
print(i)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
X = int(input())
a = 100.0
for i in range(20000):
  a = math.floor(a * 1.01)
  if a >= X:
    break
print(i+1)

Submission status: Wrong Answer

Solution code:
X = int(input())
a = 100
for i in range(20000):
  a *= 1.01
  if a >= X:
    break
print(i+1)

Submission status: Wrong Answer

Solution code:
n = int(input())
s = 100
a = 0
while n > s:
  s= int(s*1.01)
  a += 1
print(a)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n = int(input())
s = 100
while n >= s:
  s*=1.01
print(int(s))

Submission status: Wrong Answer

Solution code:
n = int(input())
s = 100
while n > s:
  s*=1.01
print(int(s))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
x = int(input())
m = 100
n = 0

while True:
    n += 1
    m += int(m * 0.01)
    if m >= x:
        break

print(n)

Submission status: Wrong Answer

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

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

print(cnt)

Submission status: Wrong Answer

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

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

print(cnt)

Submission status: Wrong Answer

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

sum = int(100)
cnt = 0
while sum < X:
    sum = math.floor(sum * 101 / 100)
    cnt += 1

print(cnt)

Submission status: Wrong Answer

Solution code:
x = int(input())
s = 100
ans = 0
for i in range(101,(10**18)+1):
    s = int(s*1.01)
    ans += 1
    if s >= x:
        break

print(ans)

Submission status: Wrong Answer

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

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

print(year)

Submission status: Wrong Answer

Solution code:
X=int(input())
mlist=[100]
while mlist[-1]<X:
    m_n=int(mlist[-1]+mlist[-1]*0.01+0.005)
    mlist.append(m_n)
print(len(mlist)-1)

Submission status: Wrong Answer

Solution code:
X=int(input())
mlist=[100]
while mlist[-1]<X:
    m_n=int(mlist[-1]+mlist[-1]*0.01+0.5)
    mlist.append(m_n)
print(len(mlist)-1)

Submission status: Wrong Answer

Solution code:
X = int(input())

year = 0
yen = 100
while not (yen >= X):
    #print(X)
    yen += int(yen*0.01)
    year += 1

print(year)

Submission status: Wrong Answer

Solution code:
import math
import sys
x = int(input())

mon = 100
ri = 1
year = 0
if x <= mon:
  print(1)
  sys.exit()
while x > mon:
  #print(mon)
  ri = mon*0.01
  mon = math.floor(mon+ri)
  year += 1
  #print(year,mon)

print(year)

Submission status: Wrong Answer

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

mon = 100
ri = 1
year = 0
if x <= mon:
  print(1)

while x > mon:
  #print(mon)
  ri = mon*0.01
  mon = math.floor(mon+ri)
  year += 1
  #print(year,mon)

print(year)

Submission status: Wrong Answer

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

mon = 100
ri = 1
year = 0

while x > mon:
  #print(mon)
  ri = mon*0.01
  mon = math.floor(mon+ri)
  year += 1
  #print(year,mon)

print(year)

Submission status: Wrong Answer

Solution code:
import math
x = float(input())

mon = 100
ri = 1
year = 0

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

Submission status: Wrong Answer

Solution code:
x = int(input())

mon = 100
ri = 1
year = 0

while x >= mon:
  year += 1
  ri = mon*0.01
  mon = mon+ri
  
print(year)

Submission status: Wrong Answer

Solution code:
x = int(input())

mon = 100
ri = 1

while x >= mon:
  ri = mon*0.01
  mon = mon+ri
  
print(int(mon))

Submission status: Wrong Answer

Solution code:
x = int(input())

balance = 100
year = 1
while balance < x:
  balance = balance * (1+0.01)
  balance = int(balance)
  year += 1
print(year-1)

Submission status: Wrong Answer

Solution code:
x = int(input())

count = 0
account = 100
while(True):
  if (account >= x):
    break
    
  account = int(float(account) * 1.01)
  count += 1

print(count)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
from decimal import *

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

print(cnt)

Submission status: Wrong Answer

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

print(cnt)

Submission status: Wrong Answer

Solution code:
import math 
x=int(input())
ans= math.log(x/100)/math.log(1+0.01/1)
print(ans)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
X = int(input())

n = 100
cnt = 0
while n < X:
    # print(n)
    n *= 100
    # print(n)
    n += int(n/100)
    # print(n)
    n //= 100
    # print(n)
    cnt += 1

print(cnt)

Submission status: Wrong Answer

Solution code:
X = int(input())

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

print(cnt)

Submission status: Wrong Answer

Solution code:
X = int(input())

n = 100
cnt = 0
while n < X:
    n += int(n*0.01)
    cnt += 1

print(cnt)

Submission status: Wrong Answer

Solution code:
x = int(input())

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

print(cnt)

Submission status: Wrong Answer

Solution code:
X = int(input())

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

print(cnt)

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
year = 1;
x = int(input())
y = 100;
while True:
    y = 1.01*y // 1;
    if y >= x:
        break;
    year += 1;

print(year)

Submission status: Wrong Answer

Solution code:
year = 1;
x = int(input())
y = 100;
while True:
    y = int(1.01*y);
    if y >= x:
        break;
    year += 1;

print(year)

Submission status: Wrong Answer

Solution code:
# 165 B

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

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

print(yr)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
import math
A=int(input())/100
t=math.log(A,1.01)
print(math.ceil(t))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a = int(input())
ans = 0
cur = 100
while cur < a:
  cur = int(cur * 1.01)
  ans += 1
print(ans)

Submission status: Wrong Answer

Solution code:
req = int(input())
count = 0
p = 100
while p < req:
  p *= 1.01
  p = int(p)
  count +=1
  
print(count)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
X = int(input())
M = 100
i = 1
while True:
  I = 0.01*M
  M += I
  i += 1
  if M >= X:
    print(i-1)
    break

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

    from math import floor

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


if __name__ == '__main__':
    main()