Problem:
 Score : 200 points    Problem Statement  Takahashi has a deposit of 100 yen (the currency of Japan) in AtCoder Bank.  The bank pays an annual interest rate of 1 % compounded annually. (A fraction of less than one yen is discarded.)  Assuming that nothing other than the interest affects Takahashi's balance, in how many years does the balance reach X yen or above for the first time?      Constraints   101 \le X \le 10^{18}  All values in input are integers.         Input  Input is given from Standard Input in the following format:  X       Output  Print the number of years it takes for Takahashi's balance to reach X yen or above for the first time.        Sample Input 1 103      Sample Output 1 3   The balance after one year is 101 yen.  The balance after two years is 102 yen.  The balance after three years is 103 yen.   Thus, it takes three years for the balance to reach 103 yen or above.       Sample Input 2 1000000000000000000      Sample Output 2 3760       Sample Input 3 1333333333      Sample Output 3 1706

Solution (Python):
def solve(string):
    i, c = 0, 100
    while c < int(string):
        i += 1
        c = c * 1.01 // 1
    return str(i)


if __name__ == '__main__':
    import sys
    print(solve(sys.stdin.read().strip()))

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

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

print(year)

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

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

print(i)

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

money = 100
h = 0
while money <= x:
    h += 1
    money = int(money * 1.01)
    if money >= x:
        print(h)
        exit(0)

Solution (Python):
import math


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

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


if __name__ == "__main__":
    main()

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

print(cnt)

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

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

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

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

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

Solution (Python):
import math
yen = 100
x = int(input())
counter = 0

while (yen >= x) != True:
    counter += 1
    yen = math.floor(yen * 1.01)
    

print(counter)

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

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

print (ans)

Solution (Python):
from math import floor

X = int(input())

i = 0
d = 100
while (d < X):
    d += floor(d*0.01)
    i+= 1

print(i)

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

while x>yen:
  yen = int(yen*1.01)
  year+=1

print(year)

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

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

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

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

print(cnt)

Solution (Python):
import math

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

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

print(year)

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

Solution (Python):
import math

X = int(input())

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

print(year)

Solution (Python):


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

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

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

while sum < x:
    sum += sum // 100
    n += 1

print(n)

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

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

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

Solution (Python):
import sys
import math

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

while True:
    M = M * 1.01
    M = math.floor(M)
    Y = Y + 1

    if X <= M:
        break

print(Y)

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


deposit = 100

count = 0
while deposit < X:
    deposit += deposit // 100
    count += 1

print(count)

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

print(ans)

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

n = 0

pri = 100

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

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

year = 0

money = 100

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

Solution (Python):
import math

X = int(input())

M = 100
Y = 10**16

for i in range(Y):
  if X <= M:
    print(i)
    exit()
  M = math.floor(M * 1.01)

Solution (Python):



from math import floor

X = int(input())

total = 100
cnt = 0

while True:
    if total >= X:
        break

    cnt += 1
    total = floor(total*1.01)

print(cnt)

Solution (Python):
x=int(input())
money=100
for i in range(3761):
  money=int(money*1.01)
  if x<=money:
    print(i+1)
    break

Solution (Python):
x = int(input())
y = 1
n = 100
while(1):
    n=int(1.01*n)
    if n>=x:
        break
    y+=1
print(y)

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

Y = 100
count = 0

while (X > Y):
  Y += int(0.01*Y)
  count += 1
print(count)

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

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


if __name__ == '__main__':
    main()

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

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

Solution (Python):


n=int(input())
z=100
i=0
while z<n:
  z=z*(1.01)
  z=z//1
  i+=1
  
print(i)

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

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

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

a=int(100)
for i in range (3800)  :
    a=int(a*1.01)
    
    if a < x:
        continue
    else:
        break

print(i+1)

Solution (Python):
import math
X = int(input())
A = 100
i = 0
while X > A:
    A = math.floor(A * 1.01)
    i += 1
print(i)

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

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

n = 100
for i in range(10000):
    if n >= x:
        break
    n = (n * 1.01) // 1
print(i)

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

yokin = 100.0


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

Solution (Python):
import math
X = int(input())
M = 100
Y = 0
while(M < X):
    M += math.floor(M/100)
    Y += 1

print(Y)

Solution (Python):
X = int(input())
x = 100
for i in range(1,10000):
    x = x + x//100
    if(x >= X):
        print(i)
        break

Solution (Python):
A = int(input())
s= 100
count = 0

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

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

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

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

for i in range(1,10**18):
    a=int(a*1.01)
    if X<=a:
        print(i)
        exit()

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

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

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

Solution (Python):
import math

x = int(input())
chokin = 100
ans = 0
while True:
    ans += 1
    rishi = math.floor(chokin / 100)
    chokin += rishi
    if chokin >= x:
        break

print(ans)

Solution (Python):


x = int(input())

y = 100
i = 0

while y < x:
    y = y + y // 100
    i = i + 1

print(i)

Solution (Python):
import math
x = int(input())
a = 100
s = 0

for i in range(10**111):
  a = a + math.floor(a*0.01)
  s += 1
  if a >= x:
    print(s)
    exit()

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

a = 100
i = 0

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

print(i)

Solution (Python):
import sys
import itertools

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines


X = int(read())

x = 100

for year in itertools.count():
  if x >= X:
    break
  x = x * 101 // 100

print(year)

Solution (Python):
def main():
    X = int(input())
    x = divmod(X, 100)
    a = [1, 0]
    y = 0
    while a[0] < x[0] or a[0] == x[0] and a[1] < x[1]:
        i, a[1] = divmod(a[1] + a[0], 100)
        a[0] += i
        y += 1
    return y


print(main())

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

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

Solution (Python):
x = int(input())
res = 100
for i in range(1,3801):
	res = int(res*1.01)
	if res >= x:
		print(i)
		break

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

asset = 100
ans = 0

while asset < x:
    asset += int(asset*0.01)
    ans += 1

print(ans)

Solution (Python):
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)

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

Solution (Python):
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()

Solution (Python):
import math
import time
from collections import defaultdict,deque
from sys import stdin,stdout
from bisect import bisect_left,bisect_right
x=int(input())
p=100
count=0
while(p<x):
    count+=1
    p+=p//100 
print(count)

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

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

balance = 100
years = 0

while balance < x:
    balance = int(balance * 1.01)
    years += 1

print(years)

Solution (Python):
n=int(input().rstrip())
now=100
ans = 0
while now<n:
  now+=int(now*0.01)
  ans+=1
print(ans)

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

total = 100
year = 0

while total < X:
  """
  if total < 1000:
    for i in range(1,100):
      num = 0
      if 100%i == 0:
        num = int(100/i)
      else:
        num = int(round(100/i+0.5,1))
      for j in range(num):
        total += i
        year += 1
        if total >= X:  break
      if total >= X:  break
  else:
    total += int(total*0.01)
    year += 1
    if total >= X:  break
  """
  total += int(total*0.01)
  year += 1
  if total >= X:  break
print(year)

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

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

print(ans)

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

charge=100
count=0

while(1):
    charge+=math.floor(charge*0.01)
    count+=1
    if charge>=X:
        break
print(count)

Solution (Python):
import math


def actual(x):
    amount = 100

    count = 0

    while True:
        amount *= 1.01
        amount = math.floor(amount)

        count += 1

        if amount >= x:
            return count

x = int(input())
print(actual(x))

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

print(count)

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

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

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

Solution (Python):

"""
Spyderエディタ

これは一時的なスクリプトファイルです
"""
p = 100
cnt = 0

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

print(cnt)

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

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

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

Solution (Python):
import itertools
import math
import fractions
import functools
x = int(input())

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

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

while X>M:
  M=(M*1.01)//1
  n+=1
  
print(n)

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

Solution (Python):
x=int(input())
y=100
z=1
while True:
    if y*1.01//1<x:
        y=y*1.01//1
    else:
        print(z)
        break
    z+=1

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

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

print(yr)

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

n = 0
f = 100
while f < X:
    f = f + int(f/100)
    n = n + 1
print(n)

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

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

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

Solution (Python):
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

Solution (Python):
def main(x):
    money = 100
    year = 0
    while money < x:
        year += 1
        money = int(money * 1.01)
    return year


if __name__ == '__main__':
    X = int(input())
    print(main(X))

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

Solution (Python):
import sys
import math
sys.setrecursionlimit(10**7)

stdin = sys.stdin

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

x = ni()
ct = 0
t = 100
while True:
    ct += 1
    t *= 1.01
    t = math.floor(t)
    if t >= x:
        print(ct)
        break

Solution (Python):
from sys import stdin
import math

x = int(stdin.readline().rstrip())
val = 100
n = 0

while(True):
  if val >= x:
    break
  val = int(val * 1.01)
  n += 1

print(n)

Solution (Python):
goal = int(input())
bank = 100
year = 0
while(bank<goal):
  if(bank < goal):
    bank *= 1.01
    bank = int(bank)
    year += 1
  else:
    break
print(year)

Solution (Python):
import itertools
x=int(input())
m=100
for i in itertools.count():
    if m>=x:
        break
    m=m*101//100
print(i)

Solution (Python):



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

while True:
    ans += 1
    A = int(A*1.01)
    if A >= X:
        break

print(ans)

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

Solution (Python):
if __name__ == '__main__':
    k = 100
    x = int(input())
    count = 0
    while k<x:
        k += (k//100)
        count+=1
    print(count)

Solution (Python):
import math

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

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

print(counter)

Solution (Python):
last=int(input())
first=100
r=[]
while first<last:
  first=int(first*1.01)
  r.append(first)
  
R=len(r)

print(R)

Solution (Python):
K =int(input())
B = 100
C = []
while (B<K):
    B = int(B*1.01)
    
    C.append(B)
c = len(C)

print(c)

Solution (Python):


import sys
from math import log
INT_MAX = sys.maxsize
INT_MIN = -(sys.maxsize)-1
sys.setrecursionlimit(10**7)
mod = 1000000007


def IOE():
    sys.stdin = open("input.txt", "r")
    sys.stdout = open("output.txt", "w")


def main():
    a = int(sys.stdin.readline())
    p = 100
    cnt = 0
    while p < a:
        p += p // 100
        cnt += 1
    print(cnt)


if __name__ == "__main__":
    try:
        IOE()
    except:
        pass
    main()

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

while bank<X:
    bank = (bank*101)//100
    year += 1

print(year)

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

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

money = 100
year = 0

while(money<x):
  year += 1
  money += money // 100
  
print(year)

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

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

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

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

moto = 100

for i in range(100000):
    moto = int(moto*1.01)
    if moto >= x:
        ans = i+1
        break
print(ans)

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

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

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

Solution (Python):
X = int(input())
M = 100
count = 0
while True:
    M += M // 100
    count += 1
    if X <= M:
        print(count)
        break

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

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

year = 0
money = 100

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

print(year)

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

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

print(ret)

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

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

    balance = 100
    for year in range(1, 10**9):
        balance = balance * 101 // 100
        if balance >= X:
            return year


def main():
    print(solve())


if __name__ == "__main__":
    main()

Solution (Python):
x = int(input())
p = 100
count = 0

while p < x:
    p += p//100
    count += 1

print(count)

Solution (Python):



def main() -> None:
    X = ri()
    balance = 100
    for y in range(1, 10 ** 7):
        balance = int(balance * 1.01)
        if X <= balance:
            w(y)
            return


def r() -> str:
    return input().strip()


def ri() -> int:
    return int(r())


def rmi(delim: str = ' ') -> tuple:
    return tuple(map(int, input().split(delim)))


def w(data) -> None:
    print(data)


def wm(*data, delim: str = ' ') -> None:
    print(delim.join(map(str, data)))


if __name__ == '__main__':
    import sys
    sys.setrecursionlimit(10**9)
    main()

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

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

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

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

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

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

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

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

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

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


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

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

Solution (Python):
import math

X = int(input())

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

print(n)

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

while now<X:
    now += now//100
    ans += 1

print(ans)

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

print(ans)

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

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

Solution (Python):
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)

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

Solution (Python):
x=int(input())
cnt=0
money=100
for a in range(10**10):
  cnt+=1
  money=1.01*money//1
  if money>=x:
    break
print(cnt)

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

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

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

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

Solution (Python):
x = int(input())
my_money = 100
ans = 0

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

Solution (Python):
x = int(input())
my_money = 100
ans = 0

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

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

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

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

Solution (Python):

import math

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

while True:
    a = math.floor(a * 1.01)
    b += 1
    if a >= x:
        print(b)
        exit()

Solution (Python):
import math

x = int(input())
money = 100
rate = 1.01
total = money
cnt = 0
while(True):
    total = math.floor(total * rate)
    cnt += 1
    if total >= x:
        break
    else:
        continue
print(cnt)

Solution (Python):
import math
X = int(input())
c = 100
s = 0
while X > c:
  c = math.floor(c * 1.01)
  s += 1
print(s)

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

Solution (Python):
def i():
    return int(input())
def i2():
    return map(int,input().split())
def s():
    return str(input())
def l():
    return list(input())
def intl():
    return list(int(k) for k in input().split())

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

Solution (Python):
X = int(input())
count = 0
y = 100
while True:
  if y < X:
    y = int(1.01 * y)
    count += 1
  else:
    break

print(count)

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

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

print(count)

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

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

print(count)

Solution (Python):
def main():
    x = int(input())
    ans = 0
    m = 100
    while True:
        if m >= x:
            print(ans)
            exit()
        else:
            m = m + int(m * 0.01)
            ans += 1


if __name__ == "__main__":
    main()

Solution (Python):
target = int(input())
n = 100
i = 1.01
ans = 0

while True:
  n = int(n * i)
  ans += 1
  if n >= target:
    break

print(ans)

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

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

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

import sys
for i in range(10**7):
  a = int(a*1.01)
  if a>=x:
    print(i+1)
    sys.exit()

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

while depo < X:
    depo = int(depo + depo * 0.01)
    count += 1
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):
import math

x = int( input() )
p = 100

for i in range( 10000000000 ):
    p_new = p * 1.01e0

    p_new = math.floor( p_new )



    if p_new >= x:
        print( i+1 )
        exit()

    p = p_new

Solution (Python):
def q2():
    X = int(input())
    ans = 0
    tmp = 100
    while True:
        tmp, _ = divmod(tmp*101, 100)
        ans += 1
        if tmp >= X:
            break
    print(ans)


if __name__ == '__main__':
    q2()

Solution (Python):
import  math

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

print(year)

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

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

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

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


def calc(X):
    money=100
    for i in range(X):
        if money >= X:
            
            return i
        
        money = (money + int(money * 0.01))

print(calc(X))

Solution (Python):
X = int(input())
yokin = 100
t = 0

while(X > yokin) :
  t += 1
  yokin = int(yokin*1.01)
  
print(t)

Solution (Python):
from math import floor

y = int(input())
x = 100
n = 0
while x < y:
    x += floor(x * 0.01)
    n += 1

print(n)

Solution (Python):
from sys import stdin, stdout
import math as m
rl = lambda: stdin.readline()
rll = lambda: stdin.readline().split()

def main():
	x = int(rl())
	c = 100
	y = 0
	while c < x:
		c = m.floor(1.01 * c)
		y += 1
	stdout.write(str(y));stdout.write("\n")
	stdout.close()

if __name__ == "__main__":
	main()

Solution (Python):
ini = 100
x = int(input())
bai = 1.01
nen = 0
while	x > ini:
  ini = int(ini * bai)
  nen = nen + 1
print(nen)

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

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

print(ans)

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

X = int(readline())

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

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

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

Solution (Python):
x = int(input())
n = 100
for i in range(1, 1000000):
    n = int(n * 1.01)
    if n >= x:
        print(i)
        break

Solution (Python):
import math

X = int(input())

deposit = 100
year = 1

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

print(year)

Solution (Python):

x = int(input())
m = 100
for i in range(10**18):
    m *= 1.01
    m = int(m)
    if m >= x:
        print(i+1)
        break

Solution (Python):
Money=100
risi=0.01
year=0
target=int(input())
while(True):
    if Money>=target:
        print(year)
        exit()
    Money=int(Money*risi)+Money
    year+=1

Solution (Python):
import math

X = int(input())

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

print(i)

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

yokin = 100
ans = 0
while X > yokin:
    yokin += yokin // 100
    ans += 1

print(ans)

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

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

Solution (Python):
import math
n = int(input())
a = 100

ans  = 0

while a < n:
    
    a = math.floor(a * 1.01)
    ans = ans + 1

print(ans)

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

Solution (Python):
import math

savings = 100
interest = 1.01
count = 0
x = int(input())

while savings < x:
    savings = math.floor(savings * interest)
    count += 1

print(count)

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

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

main()

Solution (Python):
import numpy as np
x = int(input())
n = 100
cnt = 0

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

print(cnt)

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

Solution (Python):
x = int(input())
y = 100
for year in range(1, 4000):
  y = int(y * 1.01)
  if y >= x:
    print(year)
    break

Solution (Python):

def input_from_console():
    x = int(input())
    return x


def solve(x):
    years = 0
    amount = 100
    rate = 0.01
    while amount < x:
        amount += int(amount * rate)
        years += 1
    return years


def main():
    x = input_from_console()
    print(solve(x))


if __name__ == "__main__":
    import sys

    if sys.gettrace():  
        check_cases()
    else:
        main()

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

Solution (Python):
import math

X = int(input())

x, y = 100, 0
while True:
    if x >= X:
        break
    x += math.floor(x * 0.01)
    y += 1
print(y)

Solution (Python):
X = int(input())
v = 100
for i in range(1, 3761):
    v *= 1.01
    v = int(v)
    if v>=X:
        print(i)
        break

Solution (Python):
x = int(input())
d = 100
for i in range(10**8):
  d += int(d/100)
  if d >= x:
    print(i+1)
    break

Solution (Python):
import math

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

while X > money:

    money = math.floor(money * 1.01)
    cnt+=1
    

print(cnt)

Solution (Python):

X = int(input())

z = 100
r = 1.01
y = 0

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

print(y)

Solution (Python):
import math

x = int(input())

currentMoney = 100
r = 0.01

i = 0
while x > currentMoney:
    currentMoney += math.floor(currentMoney * r)
    i += 1

print(i)

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

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

while True:
    total += total // 100
    i += 1
    
    if total >= x:
        break
print(i)

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