peterverebics/CodeNet_Python_118 huggingface dataset:
# -*- coding: utf-8 -*-
yo = 100
c = 0
X = int(input())

while( yo < X ):
    c += 1
    ri = int(yo/100)
    yo += ri
print(c);
x = int(input())
d = 100
i = 0

while d < x:
  d += d//100
  i += 1
else:
  print(i)
def solve():
    x = int(input())
    p = 100
    a = 0
    while p < x:
        p = int(p * 1.01)
        a += 1
    print(a)

if __name__ == '__main__':
    solve()
import math


def read():
    X = int(input())
    return X,

def solve(X):
    a = 100
    t = 0
    while a < X:
        a = math.floor(a * 1.01)
        t += 1
    return t
    

if __name__ == '__main__':
    inputs = read()
    print("{}".format(solve(*inputs)))
x = int(input())

ans = 0
deposit = 100
while deposit < x:
  deposit = int(deposit*1.01)
  ans += 1
print(ans)
x = int(input())
money = 100
i = 0
while money<x:
    i += 1
    money = (money * 101)//100
print(i)
X=int(input())
n=0
m=100

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

count = 0
a = 100

while True:
    count += 1
    a *= 1.01
    a = int(a)
    if a >= x:
        print(count)
        break
import math
X = int(input())
now = 100

year = 0

while True:
    if now >= X:
        break
    now += now // 100
    year += 1

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

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

print(year)
#ABC165-B
x=int(input())
money=100
year=0
while money<x:
  money+=money//100
  year+=1
print(year)
X = int(input())
x = 100
for i in range(100000):
  x = x*101//100
  if x >= X:
    print(i+1)
    exit()
print(-1)
x = int(input())
m = 100
for i in range(x):
    m = m * 101 // 100
    if m >= x:
        print(i + 1)
        exit()
X = int(input())
cn = 100
year = 0
while cn < X:
    cn = int(cn * 1.01)
    year += 1
print(year)
x = int(input())
yokin = 100
cnt = 0
while yokin < x:
    yokin = yokin*101//100
    cnt += 1
print(cnt)
import math

X = int(input())
sum = 100
n = 0

while sum < X:
    sum = math.floor(sum * 1.01)
    n += 1

print(n)
import math

x =int(input())

a=100
cnt=0
while True:
    a  = math.floor(a* 1.01)
    cnt +=1
    if a>= x:
        break
print(cnt)
import math
import sys
sys.setrecursionlimit(10**9)
X = int(input())
A = 100
i = 0
while A < X:
    A = math.floor(A*1.01)
    i+=1

print(i)
# coding: utf-8
import sys

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


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()
X = int(input())
i = 0
kane = 100
while True:
    i += 1
    kane =int(kane*1.01)
    if kane >= X:
        break

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

print(n)
x=int(input())
y=int(100)
for i in range(0,99999999):
    y=int(y*1.01)
    if x<=y:
        break
print(i+1)
import math
x=int(input())
m=100
cnt=0
while m<x:
    m=math.floor(m*1.01)
    cnt+=1
print(cnt)
X = int(input())


tmp = 100
i = 0
while 1:
    if tmp >= X:
        break
    else:
        tmp = tmp * 1.01
        tmp = int(tmp)
        i += 1
print(i)
X = int(input())
bank = 100
year = 0
while bank < X:
    bank = bank * 101 // 100
    year += 1
print(year)
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()
# -*- coding: utf-8 -*-
# スペース区切りの整数の入力
#N, K = map(int, input().split())
# 文字列の入力
X = int(input())
#開業されたN個要素を受け付ける
#list = [input() for i in range(N)]
yokin = 100
i=0
while(yokin < X):
    yokin = int(yokin*1.01)
    #print(yokin)
    i=i+1
#while(i<3760):
#    yokin=yokin*1.01
#    i=i+1
print(i)
#print(yokin)
import math

X = int(input())
a = 100
n = 0
while True:
    n += 1
    a = math.floor(a * 1.01)
    if a >= X:
        print(n)
        exit()
import numpy as np
if __name__ == "__main__":
    # 入力パターン．
    # 要素の数がわかっているパターン
    ### a b
    x = int(input())
    y = 1
    m = 100

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

def resolve():
    X = int(input())
    keika = 0
    yokin = 100

    if X <= yokin:
        print(keika)
        return

    while True:
        yokin = math.floor(yokin * 1.01)
        keika += 1
        if X <= yokin:
            print(keika)
            return


if __name__ == "__main__":
    resolve()
import math
x = int(input())
balance = 100
years = 0
while True:
    balance = balance * 101
    balance = balance // 100
    years += 1
    if balance >= x:
        break
print(years)
x = int(input())
yokin = 100
i = 0
while True:
  yokin = yokin*101//100
  i = i + 1
  if (yokin >= x):
    break
print(i)
# map(int,input().split())
# int(input())
import math
x = int(input())
cnt = 100
nen = 0
while cnt < x:
	cnt = (cnt * 101) //100
	nen += 1
print(nen)
x  = int(input())
amount = 100
cnt = 0

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

print(cnt)
#dt = {} for i in x: dt[i] = dt.get(i,0)+1
#dt = {k:v for k,v in sorted(x.items(), key=lambda i: i[1])}
ipnl = lambda n: [int(input()) for _ in range(n)]
inp = lambda :int(input())
ip = lambda :[int(w) for w in input().split()]
mp = lambda :map(int,input().split())

p = 100
x = inp()
n = 0
while p < x:
    p += int(p*0.01)
    #print(p)
    n += 1
print(n)
X = int(input())

cnt = 0
total = 100

while True:
    cnt += 1
    total = (total*101)//100

    if total>=X:
        break

print(cnt)
X=int(input())
A=100
cnt=0
while True:
    A=int(A*1.01)
    cnt+=1
    if A>=X:break
print(cnt)
import math

x=int(input())
yokin,years=100,0

while True:
  if yokin>=x:
    print(years)
    break
  yokin+=math.floor(yokin*0.01)
  years+=1
X = int(input())
year = 0
total = 100

while total < X:
    total = total + int(0.01 * total)
    year += 1
    
print(year)
import math

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

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

if __name__ == '__main__':
    main()
x = int(input())

m = 100
cnt = 0
while m < x:
  m += m//100 
  cnt += 1

print(cnt)
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()
import sys
import math

M = 100
X = int(input())
Y = 0

while True:
    M = M * 1.01
    M = math.floor(M)
    Y = Y + 1
#    print(Y)
    if X <= M:
        break

print(Y)
x = int(input())
c = 100
i = 0
while c<x:
    c = int(c)*1.01
    i += 1
print(i)
x = int(input())
v = 100
r = 1
while True:
	v = v * 1.01
	v = int(v)
	if v >= x:
		break
	r += 1
print(r)
import math
x = int(input())
ans = 0
mt = 100
while mt < x:
    mt = math.floor(mt * 1.01)
    ans += 1
print(ans)
n=int(input())
m=100
y=0
while m<n:
    m=int(m*1.01)
    y+=1
print(y)
x = int(input())
r = 100
cnt = 0
while(1):
    r = int(r * 1.01)
    cnt += 1
    if r >= x:
        break

print(cnt)
#!/usr/bin/env python3

import sys
sys.setrecursionlimit(300000)


def solve(X: int):
    ret = 0
    i = 100
    while i < X:
        i = int(i * 1.01)
        ret += 1
    print(ret)
    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))  # type: int
    solve(X)

if __name__ == '__main__':
    main()
x = int(input())

money = 100
ans = 0
while money < x:
    money += int(money / 100)
    ans += 1

print(ans)
# B 1%

import math

X = int(input())
Y = 100

cnt = 0
while Y < X:
  cnt += 1
#  Y = math.floor(Y*1.01)
  Y = Y + Y//100

print(cnt)
def B():
    n = int(input())
    m = 100
    i = 0
    while True:
        if n <= m:
            break
        else:
            m += int(m*0.01)
            i += 1
    print(i)
B()
X=int(input())
ans=100
cnt=0
while ans<X:
  ans+=ans//100
  cnt+=1
print(cnt)
x=int(input())
money=100
ind=0
while True:
    money=int(money*1.01)
    ind+=1
    if money>=x:
        ans=ind
        break
print(ans)
X = int(input())
P = 100
year = 0
while X > P:
    P += P // 100
    year += 1

print(year)
x=int(input())
have_money=100
yokin=[]
i=0
while True:
    i+=1
    yokin.append(have_money+(have_money)//100)
    if yokin[i-1]>=x:
        print(i)
        exit()
    have_money+=(have_money)//100
import math

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

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

'''
x == 100 * (1.01)**a
'''

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

print(a)
import math

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

while money < X:
    money += money//100
    ans += 1
    
print(ans)
import numpy as np
import math
X=int(input())
tmp=100

#x=((math.log(X)/math.log(1.01)))//1+1
for i in range(6000):
  tmp=int(tmp*1.01)
  if(tmp>=X):
    print(i+1)
    break
X = int(input())

c = 100

for i in range(1,4000):
  c = int( c * 1.01 )
  if c >= X:
    print(i)
    break
x = int(input())

num = 100
y = 0

while num < x:
    num = (num*1.01)//1
    y += 1
print(y)
X = int(input())

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

X = int(input())

INTEREST_RATE = 0.01
amount = 100

years = 0
while True:
    interest_amount = amount * INTEREST_RATE
    interest_amount = math.floor(interest_amount)

    if amount >= X: break
    amount += interest_amount
    
    years += 1

print(years)
x = int(input())
y = 100
n = 0
while y < x:
  y += y//100
  n += 1
print(n)
X = int(input())
now = 100
ans = 0
while now < X:
    now = int(1.01 * now)
    ans += 1

print(ans)
X=int(input())
i=0
a=100
while a<X:
  i+=1
  a+=int(a*0.01)
print(i)
import math

def input_number():
    return int(input())

def input_1line_list(number_of_input):
    return [input() for i in range(number_of_input)]

def input_1line():
    return map(int, input().split())

# def print_unique_length(input_list):
#     print(len(set(input_list)))

def main():
    x = input_number()
    year = 0
    money = 100
    while money < x:
        money += money//100
        year += 1
    print(year)

if __name__ == '__main__':
    main()
X = int(input())
cash = 100
i = 0
while (cash < X):
  i = i + 1
  cash = ((cash * (1.01)) // 1)
print(i)
x = int(input())
total = 100
year = 0

while x > total:
  year += 1
  total += total//100
print(year)
import math

x = int(input())

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

print(count)
x=int(input())
s=100
count=0
while x>s:
    s+=s//100
    count+=1
print(count)
x = int(input())

money = 100
countYear = 0

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

print(countYear)
import math

x = int(input())
m = 100

for i in range(1, 1000000000000000000):
  m = math.floor(m * 1.01)
  if m >= x:
    print(i)
    break
# -*- coding: utf-8 -*-

X = int(input())

s = 100
n = 0

while s < X:
    s *= 1.01
    s = int(s)
    n += 1
print(n)
x = int(input())

b = 100
for i in range(1,10**18):
  b += b//100
  if b >= x:
    print(i)
    break
X = int(input())
n = 0
money = 100
while(money<X):
  money = money+money//100
  n = n+1
print(n)
X = int(input())

x = 100
t = 0
while x < X:
  t += 1
  x = int(x*1.01)
print(t)
x = int(input())
n = 100
i = 1
while n < x:
  n += n // 100
  i += 1
print(i-1)
from collections import deque, Counter, defaultdict
from itertools import chain, combinations
import json
# import numpy as np
import bisect
import sys
import math
import bisect
from functools import lru_cache

sys.setrecursionlimit(10 ** 8)

M = 10 ** 9 + 7
INF = 10 ** 17


def main():
    N = int(input())
    # A = [int(a) for a in input().split()]
    c = 1
    d = 100
    while True:
        d = int(d * 1.01)
        if d >= N:
            print(c)
            return
        c += 1


if __name__ == "__main__":
    main()
X = int(input())
i = 0
y = 100

for i in range(10000000000000000000):
  if y < X:
    y = int(y * 1.01)
  else:
    break
print(i)
x=int(input())
a=100
cnt=0
while x>a:
    cnt+=1
    a=a*1.01//1
print(cnt)
def risoku(x):
  return int(x * 1.01)

X = int(input())
#A, B = map(int, input().split())

x = 100
i = 0
while True:
  x = risoku(x)
  i += 1
  if X <= x:
    print(i)
    break
#!python3

iim = lambda: map(int, input().rstrip().split())

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

    n = 0
    y = 100
    while True:
        if y >= x:
            print(n)
            return

        n += 1
        y = int(y*1.01)

if __name__ == "__main__":
    resolve()
r = int(input())

a = 100
y = 0

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

print (y)
x = int(input())
sum = 100
i = 0
while(True):
    if(sum >= x):
        print(i)
        exit()
    i += 1
    sum = int(sum  * 1.01)
X = int(input())
Year = 0
temp = 100
while(temp<X):
  Year += 1
  temp = int(temp * 1.01)
print(Year)
X = int(input())
n = 100
cnt = 0
while n < X:
    n = int(n * 1.01)
    cnt += 1
print(cnt)
x = int(input())

ans = 0
yen = 100
while True:
    if yen >= x:
        print(ans)
        break
    yen = yen * 101 // 100
    ans += 1
x=int(input())
money=100
for i in range(3761):
  money=int(money*1.01)
  if x<=money:
    print(i+1)
    break
X=int(input())
tyokin=100
count=0
while True:
    if tyokin>=X:
        print(count)
        exit()
    else:
        tyokin*=1.01
        tyokin=int(tyokin)
        count+=1
import math
X=int(input())
s=100

for i in range(1,3761):
    s=math.floor(s*(1.01))
    if s>=X:
        print(i)
        break
    else:
        continue
x = int(input())
import math
a = 100
count = 0
while a < x:
  a = math.floor(a * 1.01)
  count = count + 1
  
print(count)
last=int(input())
first=100
r=[]
while first<last:
  first=int(first*1.01)
  r.append(first)
  
R=len(r)

print(R)
import math
x=int(input());money=100;year=0
while True:
  if money >= x:
    print(year)
    break
  money+=money//100
  year+=1
X = int(input())

ans = 0

N = 100

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


print(ans)
x=int(input())
import math
i=100
j=0
while i<x:
    i=math.floor(i*1.01)
    j+=1
print(j)
import numpy as np
x = int(input())
count = 0
origin = 100
while(1):
  origin *= 1.01
  origin = int(origin)
  count += 1
  if(x <= origin):
    break
print(count)
X=int(input())
A= 100
ans = 0
while A < X:
    ans += 1
    A = (A*1.01//1)
print(ans)
x = int(input())
k = 100
f = 0
ans = 0
while f == 0:
  k = int(k * 1.01)
  ans += 1
  if k >= x:
    break
print(ans)
X=int(input())

a=100

for i in range(3800):
  if a>=X:
    print(i)
    break
  else:
    a=(a*1.01)//1
  if a>10**6:
    a/(10**6)
    X/(10**6)
import math
x = input()
cnt = 1
yokin = 100
while True:
    yokin =math.floor(yokin)*  1.01
    
   # print(yokin)
    if yokin > int(x):
       print(cnt)
       exit()
    cnt += 1
import math

inp = [input() for i in range(1)]
target = int(inp[0])

yokin = 100
count = 0
while(yokin < target):
  yokin = math.floor(yokin * 1.01)
  count += 1
  
print(count)
#!/usr/bin/env python

def main():
    x = int(input())
    money = 100
    year = 0

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

    print(year)


if __name__ == '__main__':
    main()
x = int(input())
m = 100
ans = 0
while True:
    m = int(m*1.01)
    ans += 1
    if m >= x:
        break
print(ans)
import sys
read = sys.stdin.read
readlines = sys.stdin.readlines
from math import floor
from decimal import Decimal

def main():
    x = int(input())
    n = Decimal(100)
    r = 0
    while n < x:
        n = Decimal(floor((n * Decimal(101) / Decimal(100))))
        r += 1
    print(r)

if __name__ == '__main__':
    main()
X = int(input())
current = 100
year = 0
while current < X :
    fraction = current*0.01
    if fraction >= 1 :
        current = current + int(fraction)
        year = year + 1
print(year)
x = int(input())
num = 100
cnt = 1
while True:
    num *= 1.01
    num = int(num)
    if x <= num:
        print(cnt) 
        exit()
    else:
        cnt += 1
X = int(input())

import math

count = 0
price = 100

while X > price:
    count += 1
    price = math.floor(price*1.01)
print(count)
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()
import copy
x = int(input())

tmp = 100
ans = 0

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

print(ans)
# import numpy as np
# import math
# import copy
# from collections import deque
import sys
input = sys.stdin.readline
# sys.setrecursionlimit(10000)


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

    now = 100
    res = 0

    while True:
        res += 1
        now *= 1.01
        now = int(now)
        if now >= X:
            break

    print(res)



main()
# B - 1%
X = int(input())
x = 100
ans = 0
while x<X:
    x = int(x*1.01)
    ans += 1
print(ans)
x = int(input())
deposit = 100
ans = 0
while deposit < x:
    deposit = int(deposit*1.01)
    ans += 1
print(ans)
import math

X = int(input())
money = 100
count = 0
while True:
    if money >= X:
        break
    else:
        money *= 1.01
        money = math.floor(money)
        count += 1
print(count)
X = int(input())
money, cnt = 100, 0
while money < X:
    cnt += 1
    money += money//100
print(cnt)
X = int(input())
C = 100
year = 0
while C < X:
    plus = int(C / 100)
    C += plus
    year += 1
print(year)
X = int(input())
A = 100
c = 0
while(A < X):
  A = int(A * 1.01)
  c = c + 1
  
print(c)
X = int(input())

C = 100
ans = 0

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

print(ans)
#!/usr/bin/env python3

import math

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

print(cnt)
import math
x=int(input())
a=100
for i in range(100000):
    a*=1.01
    a=math.floor(a)
    if a>=x:
        print(i+1)
        exit()
X = int(input())

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

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

num=100

rate=1.01
count=1

while(1):
    num=int(num*rate)
    if(num>=x):
        print(count)
        exit()
    count+=1
from sys import stdin
input = stdin.readline

X = int(input())
x = 100

for i in range(1, 1000000):
	x = int(x * 1.01)
	if x >= X:
		print(i)
		break
b1= float(input())
b2 = float(100)
for i in range (1,10**18):
    b2 =int( b2 * 1.01)
    if b2 < b1 :
       continue
    else : break
print(i)
x = int(input())
a = 100
for i in range(1,10000000):
    a = int(a*1.01)
    if a >= x:
        print(i)
        exit()
x = int(input())
m = 100

y = 0
while True:
    if m >= x:
        break
    y += 1
    m += int(0.01*m)
print(y)
X = int(input())
year = 0
amount = 100
while amount < X:
    amount = int(amount*1.01)
    year += 1
print(year)
X = int(input())

n = 100
result = 0

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

print(result)
i=0
n=int(input())
while n>100:
    i+=1
    n=-(-n//1.01)
print(i)
import math

x = int(input())
n = 100
i = 0
while n < x:
    # 複利の計算方法がわかっていない
    n = n * 101 // 100
    i += 1
print(i)
x = int(input())
bank = 100
cnt = 0

while x > bank:
    bank *= 1.01
    bank = int(bank)
    cnt += 1

print(cnt)
import math
X = int(input())
money = 100
year = 0
while money < X:
    money = math.floor(1.01*money)
    year += 1
print(year)
x = int(input())
m = 100
num = 0
while m < x:
    m += m//100
    num += 1
print(num)
import math


x = int(input())
p = 100
y = 1
while True:
    p += math.floor(p * 0.01)
    if p >= x:
        print(y)
        exit()
    y += 1
import math
X = int(input())

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

sys.setrecursionlimit(10 ** 7)
rl = sys.stdin.readline


def solve():
    X = int(rl())
    
    a = 100
    ans = 0
    while a < X:
        a = a + int(a * 0.01)
        ans += 1
    print(ans)


if __name__ == '__main__':
    solve()
X = int(input())

S = 100

Y = 0

while  S < X :
    S = int(S * 1.01) 
    Y += 1

print(Y)
x=int(input())

a=100
k=0
y=0
for i in range(10**18):
  y=y+1
  
  k = a//100
  a=a+k
  
  if(a>=x):break

print(y)
import math
def resolve():
	x = int(input())
	v = 100
	y = 0
	while True:
		y += 1
		v += math.floor(v*0.01)
		if v >= x:
			print(y)
			return
resolve()
x = int(input())

a, y = 100, 0

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

print(y)
import math
from collections import Counter
k=int(input())
p=100
c=0
while True:
	p+=int(p*0.01)
	c+=1
	if p>=k:
		break
print(c)
import math
x = int(input())

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

print(ans)
X = int(input())
n = 100
i = 0
while n < X:
    n += n*0.01//1
    i += 1

print(i)
inp=input
li=list
iinp=lambda : int(inp())
ent=lambda : map(int,inp().split())
lient=lambda : [int(i) for i in inp().split()]
li0= lambda x: [0 for i in range(x)]
livalor=lambda valor,x: [valor for i in range(x)]
stent=lambda : [i for i in inp()]
filldp=lambda valor,x,y: [[valor for i in range(y)] for i in range(x)]

meta=iinp()
inicio=100
res=1
while True:
    inicio=inicio+int(inicio*0.01)
    if inicio>=meta:
        print(res)
        break
    res=res+1
def main(x: int):
    money = 100
    i = 0

    while True:
        money = int(money * 1.01)
        i += 1

        if money >= x:
            print(i)
            return


if __name__ == "__main__":
    x = int(input())

    main(x)
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
x = int(input())
a = 100
ans = 0
while a < x:
    a = int(a * 1.01)
    ans += 1
print(ans)
X = int(input())
a = 100
i = 0
while True:
  if a >= X:
    print(i)
    break
  else:
    a = int(a * 1.01)
    i += 1
import math
a=int(input())
pq=100
for i in range(4000):
    pq=pq*((1+.01*1))//1
    
    #print(pq)
    if (pq)>=a:
        print(i+1)
        break
years = 0
x = int(input())
ans = 100

while ans < x:
    ans = int(ans * 101 / 100)
    years += 1 

print(years)
X = int(input())

money = 100
year = 0

while money < X:
  money = int(money * 1.01)
  year += 1
  
print(year)
# -*- coding: utf-8 -*-
import math
def main():
# 整数の入力
    x = int(input())
    n = 100.0
    counter = 0
    # 出力
    while True:
        counter += 1
        temp = n * 1.01
        n = int(temp)
        if n >= x:
            break
    print(counter)

if __name__ == '__main__':
    main()
# -*- coding: utf-8 -*-

###
# main
if(__name__ == '__main__'):
    # input
    x = int(input())

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

    print(y)
# else:
    # do nothing
#!/usr/bin/env python3
X = int(input())
money = 100
count = 0
while money < X:
    money = money * 1.01
    count += 1
    money = int(money)
print(count)
x=int(input())
base=100
c=0
while base < x:
  base+=base//100
  c+=1
print(c)
X= int(input())
val = 100
for n in range(100000000):    
    val = int(val*1.01)
    if val >= X:
        print(n + 1)
        break
X = int(input())
zan = 100
count =0
while 1:
    if zan >=X:
        print(count)
        break
    zan *=1.01
    zan =int(zan)
    count +=1
X = int(input())

money = 100
cnt = 0

while money < X:
    money += money//100
    cnt += 1
print(cnt)
t=input()
k=100000
p=100
for i in range(1,k):
	p=int(p*1.01)
	if p>=t:
		print i
		break
X = int(input())

a = 100
for r in range(1,4000):
    a = int(1.01*a)
    if a >= X:
        print(r)
        break