peterverebics/CodeNet_Python_118 huggingface dataset:
import heapq
from collections import defaultdict, deque
from math import ceil, factorial, gcd
from itertools import accumulate, permutations
import sys
import bisect

sys.setrecursionlimit(10 ** 7)
INF = float("inf")
MOD = 10 ** 9 + 7

si = lambda: input().strip()
ii = lambda: int(input())
mii = lambda: map(int, input().split())
msi = lambda: map(str, input().split())
lmii = lambda: list(map(int, input().split()))
lmsi = lambda: list(map(str, input().split()))
smii = lambda: sorted(map(int, input().split()))

# ----------

x = ii()

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

print(i)
X = int(input())

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

print(year)
x = int(input())
timeCounter = 0
finalAmount = 100

while (finalAmount < x):
    simpleInterest = finalAmount // 100
    finalAmount += simpleInterest
    timeCounter += 1
print(timeCounter)
X = int(input())
t = 100

for i in range(10000):
    t += t//100
    if X<=t:
        print(i+1)
        break
x = int(input())

y = 100
i = 0
while True:
    if y >= x:
        print(i)
        break
    y += int(y * 0.01)
    i += 1
x = int(input())

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

print(ans)
X=int(input())
p=100;ytd=0
while p<X:
  p=int(p*1.01)
  ytd=ytd+1
print(ytd)
x = int(input())

year = 0
money = 100

while money < x:
    year += 1
    #money = int(money * 1.01)
    money += money//100

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

hoge = 100
ans = 0
while True:
    ans += 1
    hoge = int(1.01 * hoge)
    if X <= hoge:
        print(ans)
        exit()
import sys
input = sys.stdin.readline

def I(): return int(input())
def MI(): return map(int, input().split())
def LI(): return list(map(int, input().split()))

def main():
    mod=10**9+7
    X=I()
    N=100
    ans=0
    while N<X:
        N=int(N*1.01)
        ans+=1
    print(ans)

main()
from decimal import Decimal
k=int(input())
num=100
ans=0
while k>num:
    num=int(Decimal(num)*Decimal(101)/Decimal(100))
    ans+=1
print(ans)
# -*- coding: utf-8 -*-
import math

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

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

a = 100

y = 0
while x > a:
    y += 1
    a = a + int(a*0.01)

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

for i in range(x):
    ans = x - count
    if ans <= 0:
        print(y)
        exit()
    else:
        ten = count * 0.01
        count += math.floor(ten)
        y += 1
n = int(input())

x = 100
for i in range(1, 3761):
    x += (x * .01)
    x = int(x)
    if x >= n:
        print(i)
        break
x=int(input())
ans = 1
amount = 100
while True:
    amount = amount + int(amount*0.01)
    if amount>=x:
        print(ans)
        break
    ans+=1
#!/usr/bin/env python3

from pprint import pprint
from collections import deque, defaultdict
import sys

sys.setrecursionlimit(10 ** 6)
input = sys.stdin.buffer.readline
INF = float("inf")

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

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

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

print(year)
x = int(input())
deposit = 100
year = 1
while(deposit * 1.01 < x):
    year += 1
    deposit = int(deposit*1.01)
print(year)
x = int(input())
 
a = 100
count = 0
while a < x:
    a = int(a*101//100)
    count += 1
 
print(count)
import math

x = 100
y = int(input())
cnt = 0
while x < y:
    x = math.floor(x * 1.01)
    cnt += 1
print(cnt)
a=int(input())
b=100
i=0
while b<a:
  b=int(b*1.01)
  i+=1
print(i)
import math
X = int(input())
a = 100
for i in range(X):
 a = math.floor(a*1.01)
 if a >= X:
     print(i+1)
     quit()
import sys
sys.setrecursionlimit(10**6)

X = int(input())

temp_list = [0 for i in range(3761)]


def solve(n):
    if n == 0:
        return 100
    if temp_list[n] != 0:
        return temp_list[n]
    temp = solve(n - 1)
    a = temp + int(temp * 0.01)
    temp_list[n] = a
    return a


for i in range(3761):
    if solve(i) >= X:
        print(i)
        exit()
x = int(input())
n = 100
y = 0
while n < x:
    n += n//100
    y += 1
print(y)
X = int(input())
money = 100
year = 0
while money < X:
    money += money // 100
    year += 1
print(year)
import math

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

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

print(cnt)
s=int(input())
a=100
b=0
while a<s:
  a=int(a*(1+0.01))
  b+=1
print(b)
X = int(input())
money = 100
year = 0

while X > money:
    year += 1
    money += money * 101 // 100

print(year)
X = int(input())

yen = 100
ret = 0
while yen<X:
  yen = 101*yen/100
  ret += 1
print(ret)
X=int(input())
sum=0
A=100
while sum<X:
  A=(A*101)//100
  sum+=1
print(sum)
n = int(input())
n = n

c = 0
m = 100
while True:
    m = m * 1.01
    m = int(m)
    c += 1
    if m > n:
        break
print(c)
import sys

def main():
    x = int(input())
    i = 100
    n = 1
    cnt = 0
    
    while True:
        n += 0.01
        cnt += 1
        print(i*n)
        if(i*n>x-1):
            print(cnt)            
            break
            sys.exit()

    
if __name__ == "__main__":
    main()
import math

X = int(input())

t = 0
m = 100

while m < X:
  m = math.ceil(m * 1.01)
  t += 1

print(t)
import math

x = int(input())
orig = 100
counter = 0

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

print(counter)
X = int(input())
year = 0
deposit = 100
while deposit < X:
    deposit += int(deposit / 100)
    year += 1
print(year)
X = int(input())
x1 = 100
r = 0.01
t = 0
while x1 <= X:
    R = int(x1 * r)
    x1 = R + x1
    t = t + 1
    #print(x1,R)
print(t)
n=int(input())
 
for i in range(10**18):
 a=(int(n*(1+0.01)))**(i-1)
 if a>=n:
  print(i+1)
  exit()
x = int(input())

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

money = 100
ans = 0


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

i=1
c=100
d=100

while x >= d:
  c=c+int(c*0.1)
  d=d+c
  i=i+1



print(i)
import math
X = int(input())
Z = 100
res = 0
while (X >= Z):
     Z += Z*0.01
     Z = math.floor(Z)
     res += 1 
print(res)
x=int(input())
c=100
year=0
while (x+1!=c):
  year+=1
  c+=1
print(year)
import math
X = int(input())
original = 100
n =  0
while True:
    n+=1
    original = math.ceil(original * 1.01)
    if original >= X:
      break
print(n)
X = int(input())
m = 100
a = 0

while m<X:
  m = int(1.01*m)
  a+=1

print(a)
import math

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

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

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

print(cnt)
import math
X=int(input())
i=100
l=0
while i<X:
  i*=1.01
  i=math.floor(i)
  l+=1
print(l)
a=int(input())
i=100
f=0
while (i/a)<1:
  if (i/a)<1/4424440255150901545896526287522681900236800:
    i=int(i*44244402551509015458965262875226819002368/100)
    f=f+9000
  else:
    i=int(i*1.01)
    f=f+1
print(f)
import math
X = int(input())
now = 100
for i in range(10**7):
    now = math.floor(now*1.01)
    if now >= X:
        print(i+1)
        break
x = int(input())
money = 100
year = 0
while True:
  money = money + money*0.01
  money = money // 1
  year += 1
  if money >= x:
    print(year)
    exit()
x = int(input())
cnt = 0
dep = 100
while True:
  dep = int(dep * 1.01)
  cnt+= 1
  if dep >= x:
    print(cnt)
    break
import math

K = int(input())

n_pre = math.log(K/100, 1.01)

print(math.ceil(n_pre))
n = int(input())

num = 100
i = 0
while num <=n:
    num = num*101//100
    i +=1
print(i)
x = int(input())

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

year = 1
while True:
    default = default + round(1 % default)
    if default == X:
        print(year)
        break
    year += 1
X=int(input())
count=0
i = 100
while X>=i:
    i = int(i * (1+0.01))
    count = count +1

print(count)
# 1%
import math

N = int(input())
x = 100
ans = 0
while x < N:
    x += math.floor(x /100)
    ans += 1

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

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

print(year)
x = int(input())/100

amt=100

t=0
while(amt<x):
  amt+= amt//100
  t+=1
  
print(t)
X = input()
X = int(X)
cash = 100
count = 0
while cash < X:
    cash*=1.01
    count += 1
print(count)
X=int(input())
B=0
X=X-100
for i in range(0,X):
    X=X-1
    B=B+1
    
print(B)
x=int (input())
 
i=0
c=100
d=100
 
while x >= d:
  c=(c*1.01)//1
  d=d+c
  i=i+1
 
 
 
print(i)
if __name__ == '__main__':
  X = input()
  X = int(X)
  
  factor = 1.01
  init = 100
  
  y = 0
  while(init <= X):
    init *= factor
    init = int(init)
    y += 1
    
  print(y)
x = int(input())
r = 100
ans = 0
while r < x:
  r = int(r * 1.01)
  ans += 1

print(ans)
X = int(input())
ans = 0
money = 100
TAX = 1.01

while money < X:
  money = int(money * TAX)
  ans += 1
  
print(ans)
x = int(input())

a = 100
ans = 0

while a <= x:
  a = a * 1.01
  ans += 1

print(ans)
x = int(input())

ans = 0
r = 1.01
ret = 100
while( x - ret > 0 ):
  ret = int( ret * r )
  ans += 1
print( ans )
X = int(input())
ans = 0
money = 100

while money < X:
  money += int(money * 0.01)
  ans += 1
print(ans)
import math
X=int(input())

print(1+math.floor((math.log(X+1, 10)-2)/math.log(1.01, 10)))
a=int(input())
i=100
f=0
while i/a<1:
  i=int(i*1.01)
  f=f+1
  if a/i>3605334940814628:
    i=int(i*3605334940814628)
    f=f+3600
print(f)
x = int(input())

deposit = 100
year = 0

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

print(year)
X = int(input())
n = 1
p = 100
while True:
    p = p*(1 + 1/100)
    if p >= X:
        print(n)
        break
    n = n + 1
#a = list(map(int,input().split()))
#b = list(map(int,input().split()))

a = int(input())
x = int(100)
count= 0
while a >= x:
    x += int(x/100)
    count+=1
print(count)
from math import *
x=int(input())

x=x/100
a=101/100
ans=ceil(log(x,a))

print(ans)
x = int(input())
a = 100
i = 0
while a < x:
  a = int(a * 1.01)
  i += 1
print(i)
import math
x = int(input())
money = 100
cnt = 0

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

print(cnt)
import math

x = int(input())
c = 100

for i in range(1, 3761):
    c += math.floor(c * 0.01)
    if c >= x:
        print(i)
        break
X = int(input())

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

print(cnt)
n=int(input())
c=1
x=100
while x<n:
    x=x*(1.01)
    x=int(x)
    c+=1
print(c)
x = int(input())
p = 100
count = 0
while p<x:
    count = count + 1
    p = p+(p*0.01)

print(count)
x=int(input())
a=100
b=0
while 1:
    if a>=x:
        print(b)
        break
    b+=1
    a=a+int(a/100)
import math
X = int(input())
price = 100
count = 0
while price<=X:
  price = int(price*1.01)
  count += 1
print(count)
X = int(input())
ans = 100
count = 0

while ans <= X:
    count += 1
    ans = ans * 1.01

print(count)
import math
X =int(input())

deposit = 100
year = 0
while deposit<X:
  deposit = math.floor(deposit +deposit*0.01)
  #print(deposit)
  year+=1
  
print (year)
import math

def main():
  x = int(input())
  
  total = 100
  year = 0
  
  while total < x:
    total = math.floor(total * 1.01)
    year += 1
  
  print(year)
  
  
  
main()
x=int(input())
i=100
c=0
while i<=x:
    i=i+(i//100)
    c=c+1
print(c)
import math

target = int(input()) # 目標金額
have = 100 # 手持ちの金額（100円スタート）
years = 0 # 何年かかるか

while have <= target:
    #print(have, years)
    have = math.floor(have * 1.01)
    years += 1

print(years)
from math import log
x = int(input())
y = round((log(x/100))/(log(1.01)))
print(y)
x=int(input())
year=0
for i in range(0,x+1):
  year+=(x*1/100)
print(year)
from math import floor,ceil
X = input()
X = int(X)
cash = 100
count = 0
while cash <= X:
    cash*=1.01
    count += 1
print(count)
# -*- coding: utf-8 -*-
# スペース区切りの整数の入力
#N, K = map(int, input().split())
# 文字列の入力
X = float(input())
#開業されたN個要素を受け付ける
#list = [input() for i in range(N)]
yokin = float(100)
i=0
while(yokin < X):
    yokin = yokin*1.01
    i=i+1
print(i)
x = int(input())

year = 0
money = 100

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

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

while True:
  money *= 1.01
  count += 1
  if money >= X:
    print(count)
    break
def main():
    c = 100
    x = int(input())
    y = 0
    while c < x:
        c = int(c * 1.01)
        y += 1
    
    print(y)
    return
main()
x = int(input())
a = 100
count = 0
while a <= x:
    a *= 1.01
    count += 1
print(count)
X = int(input())


def ans165(X: int):
    cash = 100  # 当初の預金額
    count = 0
    while True:
        cash = int(cash * 1.01)  # 元本に１パーセントの利子をつけ小数点以下切り捨て
        count += 1  # 利子をつける回数だけcountを増やす
        if cash >= X:  # cashがXの値以上になったらループ終了
            break
    return count


print(ans165(X))
X=int(input())

ans=0
yokin=100
for i in range(1,X+1):
  yokin=int(yokin*i/100)
  if yokin <= X:
    ans+=1
  else:
    break
print(ans)
# -*- coding: utf-8 -*-

def main():

    X = int(input())

    num = 100
    ans = 0

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

    print(ans)


if __name__ == "__main__":
    main()
k=int(input())
x=100
count=0
while True:
  x+=(x/100)
  count+=1
  if (x>k) or (x==k):
    break
print(count)
import math

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

    print(year)

if __name__ == "__main__":
    main()
X = list(map(int,input().split()))[0]
yen = 100

for i in range(1,10**18):
  yen = int(yen*1.01)
  if yen > X:
    break

print(i)
x = int(input())
m = 100

import math
count = 0
while m >= x:
    m += math.floor(m / 100)
    count += 1

print(count)
x = int(input())
y = 0
m = 100
while m<x:
    m = 1.01*m
    y = y+1
print(y)
X = int(input())
benjin = 100
t = 0
while benjin <= X:
    benjin = int(benjin * 1.01)
    t = t + 1
print(t)
x=int (input())
 
i=0
c=100
d=100
 
while x >= d:
  c=c+((c*0.01)//1)
  d=d+c
  i=i+1
 
 
 
print(i)
X = int(input())

n = 100
year_count = 0

while n < X:
    # n = int(n * 1.01)
    n *= 1.01
    n = int(n)
    year_count += 1

print(year_count)
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)
X = int(input())

deposit = 100
count = 0
while deposit < X:
    deposit = deposit + (deposit * 0.01)
    int(deposit)
    count += 1
print(count)
from math import floor
X = int(input())
deposit, year = 100, 0
while deposit < X:
  year += 1
  deposit = floor(deposit * 1.01)
print(year)
a=int(input())
i=100
f=0
while i/a<=1:
  i=int(i*1.01)
  f=f+1
  if a/i>10000000000000000:
    i=i*1004291331219645824
    f=f+3760
print(f)
import math

X = int(input())
ans = 0
money = 100 #初期金額

while money < X:
    money += math.floor(money*0.01)
    ans += 1
    
print(ans)
x = int(input())
yokin = 100
cnt = 0
while yokin < x:
    yokin *= 1.01
    yokin = yokin//1
    cnt += 1
print(cnt)
x = int(input())
a = 100
year = 0
while(True):
    a *= 1.01
    year += 1
    if a>=x:
        break
print(year)
x = int(input());
year = 0;
money = 100;

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


print(year);
import math
wanted = int(input())
year = 0
if wanted >= 101 and wanted <= 1000000000000000000:
    year = math.log(wanted/100) / math.log(1.01)
    print(year)
else:
    print()
X = int(input())
n = 0
money = 100
while X > money:
    money *= 1.01
    money = int(money)
    n += 1
print(n)
X = int(input())
money = 100
year = 0
while X > money :
    money = 1.01*money
    year += 1
print(year)
import math
from decimal import Decimal
X = int(input())
now = 100
year = 0

while True:
    if now >= X:
        break
    #now = int(now * Decimal("1.01"))
    #now = int(now * round(Decimal(1.01), 2))
    now += now / 100

    year += 1

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

 if a>=n:
  print(i+1)
  exit()
X = int(input())
S = 100
k = 0
while S < X:
  S = round(S*1.01)
  k += 1
print(k)
import math
X = int(input())
n = 100
ans = 1
for i in range(10000000):
    if n >= X:
        print(ans)
        break
    else:
        n = math.ceil(n*1.01)
        ans += 1
import math

X = int(input())
Money = 100

cnt = 0
while (Money <= X):
    if (X <= 103):
        Money = Money + Money * 0.01
        cnt = cnt + 1

    else:
        Money = Money + math.floor(Money * 0.01)
        cnt = cnt + 1

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

while X > A:
    cnt += 1
    A *= 1.01
    A = int(A // 1)
print(cnt)
x = int(input())
y = 0
amt = 100
while amt < x:
    amt += (amt/100)
    y += 1

print(y)
X = int(input())
m = 100
for n in range(5000):
  m = int(m*1.01)
  if m > X:
    print(n)
    break
X = int(input())
cnt = 0
yokin = 100
while X>yokin:
    yokin = int(yokin*1.01)
    cnt += 1
print(cnt)
import math
X = int(input())
n = 100
i = 0

while n < X:
    n *= 1.01
    A = math.floor(n)
    i += 1
    if A >= X:
        print(i)
        break
a = list(map(int,open(0).read().split()))
i = 100
c = 0
while i < a[0]:
  i = int(i * 101 / 100)
  c += 1
print(c)
X = int(input())
k = 0
res = 100
for i in range (1, 4200):
  res = int(res * 1.01)
  if res > X:
    k = i
    break
print(k)
X = int(input())
M = 100
i = 1
while True:
  I = 0.01*M
  M += I
  i += 1
  if M >= X:
    print(i-1)
    break
import math
x = int(input())

t = (math.log(x) - math.log(100)) / math.log(1 + 0.01)
print(math.ceil(t))
import sys
X = int(input())

if not ( 101 <= X <= 10**18 ): sys.exit()

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

print(count)
import math

x = int(input())

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

print(cnt)
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)
import math
from math import gcd
INF = float("inf")

import sys
input=sys.stdin.readline
import itertools

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

if __name__=="__main__":
    main()
money = 100
have_money = int(input())
count = 0
for i in range(money,have_money):
    count += 1
    
print(count)
X = int(input())
yen = 100
i = 0

def rishi(yen):
	return int(yen * 1.01)

while 1:
	i += 1
	yen = rishi(yen)
	if X < yen:
		break

print(i)
X = int(input())

t = 100
# デフォルト0スタートでカウント
result = 0
# 終点があるからwhileで入力値に到達するまで回す
# tを1、resultを1ずつふやす
while t >= X:
    t += t // 100
    result += 1
print(result)
# coding: utf-8

import math

X = int(input())

up = math.log(X) - math.log(100)
under = math.log( 1 + 0.01 )
future = up / under
print(math.ceil(future))
# coding: utf-8
import math
def main():
    x = int(input())
    
    money = 100
    i = 0
    while money < x:
        money = math.floor(money * 1.01)
        i += 1
    
    print(i)
    
main()
import math

X=int(input())

money = 100
ans = 0

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

print(ans)
import math

A = int(input())
X = 0
N = 100

while N < A:
    N = N * 1.01
    math.floor(N)
    X += 1
    
    # print(N)
    
print(X)
a=int(input())
i=100
f=0
if a>927325319179164458662335942967220636410183680:
  i=i*927325319179164458662335942967220636410183680
  f=f+10000
while i/a<1:  
  i=int(i*1.01)
  f=f+1
  if a/i>100000000000000000000:
    i=int(i*10374754610258.215)
    f=f+3012
print(f)
import math

a = int(input())
b = 100
i = 0
c = 0.01
for i in range(a):
  b += (b * c)
  i+=1
  b = math.floor(b)
  if b>=a:
  		print(i)
  		break 
        
print(b,a,i)
import math
X=int(input())
origin=100
count=0
while(origin<X):
    origin+=int(origin*0.01)
    print(origin)
    count+=1
print(count)
import math
X=int(input())

print(math.ceil((math.log10(X)-2)/math.log10(1.01)))
X = int(input())
start = 100
i = 0
while True:
  i += 1
  start += start * 0.01
  start = int(start)
  if start > X:
    print(i)
    break
import math
from decimal import *
x = Decimal(int(input()))
money = Decimal(100)
for y in range(1, 10**18):
    money = math.floor(Decimal(1.01) * Decimal(money))
    if money >= x:
        print(y)
        break
a=int(input())
i=100
f=0
while i/a<1:
  i=int(i*1.01)
  f=f+1
  if a/i>100000000000000000:
    i=i*100000000000000000
    f=f+376
print(f)
import math 
x = int(input())
y = math.ceil(math.log(math.ceil(x), 1.01))
# if(y > 200):
    # print(y+57)
# else:
print(y)
import math
a = int(input())
b = 100
x = 0
while (a > b):
    b += math.floor((a/100))
    x += 1
print(x)
x_deposit = int(input())

deposit = 100

interest = 1.01

past_deposit = []

while x_deposit > deposit:
    deposit = deposit * interest
    past_deposit.append(deposit)



years = len(past_deposit)

print(years)
# ABC165
# B 1%
K = int(input())
x = 100
i = 1
ct = 1
for i in range(K):
    x = x * 1.01
    x = int(x)
    if x >= K:
        print(i+1)
        exit()
x = int(input())

count=0
money=100

while x>=money:
    count += 1
    money = (money*1.01)//1

print(count)
import math

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

while True:
    i += 1
    s = int(s * (1 + r))
    if s > x:
        print(i)
        break
X = int(input())
ans = 100
cnt = 0
risok = 0
while ans <= X:
    cnt += 1
    risok = int(ans * 0.01)
    ans = ans + risok
print(cnt-1)
import math
X=int(input())
i=0
y= 100

while X >= y:
	i=i+1
	y=y*1.01
	y=math.floor(y)

print(i)
def main():
    # 100*1.01^4000 = 1.9297237e+19
    X = int(input())
    v = 100
    for i in range(4000):
        v = v*101
        v = int((v - v % 100) / 100)

        if v >= X:
            print(i+1)
            return


main()
import math
x=int(input())
count=0
mon=100
while mon < x:
    count+=1
    mon = math.floor(mon*1.01)
print(count)
import math

X = int(input())

print(math.ceil(math.log(X / 100, 1.01)))
S = int(input())#入力
cn = 0#カウンタ
after = 100#一年後の預金

while after < S:
    after = (after * 101 / 100)
    cn = cn + 1 

    
print(cn)
X = int(input())
B = 100
ans = 0

while B<X:
  B+=int(B*0.01)
  ans+=1
  
print(ans)
try:
	x=int(input())
	o=100
	count=0
	while int(o)!=x:
		o=o+(o*(1/100))
		print(o)
		count+=1
	print(count)
except:
	pass
x = int(input())
money = 100
year = 0
if x <= 100:
  print(0)
  exit()
while True:
  money = money + money*0.01
  money = money // 1
  year += 1

  if money >= x:
    print(year)
    exit()
import math
import decimal
x = int(input())
money = 100
per = 1.01
ans = 0

while money < x:
  money = math.floor(decimal.Decimal(str(money*per)))
  ans += 1
  
print(ans)
x = int(input())
y = 101
ans = 1
while y < x:
  y *= 101
  x *= 100
  ++ans
print(ans)
def func(a, r, n):
    x = (a * (1 - r ** n))/(1 - r)
    return int(x)

if __name__ == '__main__':
    x = int(input())
    i = 0
    while True:
        if func(100, 1.01, i) >= x:
            break
        i += 1
    print(i+1)
x=int(input())
num=0
y=100
while y<=x:
    y+=y//100
    if y>x:
        break
    num+=1
print(num)
x = int(input())
a = 100
for i in range(5000):
    if a >= x:
        print(i)
        break
    a = int(a * 1.01)
import math
x = int(input())
#x = 100*((1.01)**y)

y = (math.log10(x)-2) // math.log10(1.01)
#print(y)
for i in range(int(y), int(y)+10**5):
  if 100*1.01**i >= x:
    print(i)
    exit()
c = 100
count = 1
x = int(input())
if x == 100:
    print(0)
    quit()
while(True):
    c = int(c*1.01)
    if x <= c:
        print(count)
        quit()
    count += 1
import math
S = int(input())
after = 100
cn = 0

while after < S:
    after = (after * 101 / 100)
    after = math.floor(after)
    cn = cn + 1 
    if (after > S):
        break
    
print(cn)