Problem:


Debt Hell

Your friend who lives in undisclosed country is involved in debt. He is borrowing 100,000-yen from a loan shark. The loan shark adds 5% interest of the debt and rounds it to the nearest 1,000 above week by week.

Write a program which computes the amount of the debt in n weeks. 

Input

An integer n (0 ≤ n ≤ 100) is given in a line.

Output

Print the amout of the debt in a line.

Sample Input

5

Output for the Sample Input

130000



Sample input:
5


Sample output:
130000

Submission status: Wrong Answer

Solution code:
import math
price = 100000.0
n = int(raw_input())
for i in range(n):
    price = math.ceil((price * 1.05) / 1000) * 1000

Submission status: Wrong Answer

Solution code:
def next_week(x):
    return ((x * 1.05) // 1000 + 1) * 1000

def week_after(x, n):
    for _ in range(n):
        x = next_week(x)
    return x

if __name__ == '__main__':
    n = int(input())
    print(week_after(100000, n))

Submission status: Wrong Answer

Solution code:
def next_week(x):
    return ((x * 1.05 + 1) // 1000 + 1) * 1000

def week_after(x, n):
    for _ in range(n):
        x = next_week(x)
    return x

if __name__ == '__main__':
    n = int(input())
    print(week_after(100000, n))

Submission status: Wrong Answer

Solution code:
# 累積計算

if __name__ == "__main__":
    n = int(input())
    # print(n)

    y = 100000  # 10万　100,000
    y2 = y / 1000
    for i in range(0, n):

        y4 = y2 * 1.05
        # y3 = round(y2 * 1.05 -0.5, 0)
        y3 = float(int(y2 * 1.05))
        print("  {} {}".format(y4, y3))
        if y4 - y3 > 0:
            y4 += 1
        y2 = int(y4)
        print("{} {}".format(i, y2 * 1000))

    print(y2 * 1000)

    # 0 105,000
    # 1 110,250 -> 111,000
    # 2 116,550 -> 117,000
    # 3 122,850 -> 123,000
    #4 129,150 -> 130,000

Submission status: Wrong Answer

Solution code:
print '%d' % round((1.05**int(raw_input()))*100000,-4)

Submission status: Wrong Answer

Solution code:
import math
print '%d' % (math.ceil((1.05**int(raw_input()))*10)*10000)

Submission status: Wrong Answer

Solution code:
#! /usr/bin/python3

m=100
for _ in range(int(input())):
    m = int(m*1.05+0.9)
print(m*1000)

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-
from math import ceil 
n = int(input())
d = int(1e5)
for x in range(n):
    d = (1.05*d)
    d + int(int(ceil(d/1e3))*1e3)
print (d)

Submission status: Wrong Answer

Solution code:
n = input()
a = 100000
for i in range(1,int(n)+1):
    a = int(a*1.05)
    print(a)
    if(a%1000 > 0):
        a = 1000*int(a/1000) + 1000
    print(a)

print(a)

Submission status: Wrong Answer

Solution code:
# coding: utf-8
#Problem Name: Debt Hell
#ID: tabris
#Mail: t123037@kaiyodai.ac.jp

n = float(raw_input())
dept = 100000
for i in range(int(n)):
    dept *= 1.05
    if not (dept/1000).is_integer():
        dept /= 1000
        dept = round(dept,-1)*1000
print int(dept)

Submission status: Wrong Answer

Solution code:
debt = 100
for i in range(int(input())):
    debt *= 1.05
print(int(debt) * 1000)

Submission status: Wrong Answer

Solution code:
while True:
	try:
		n = int(raw_input())
		l = int(100000*pow(1.05, n))
		if l%10000 > 0:
			l -= l%10000
			l += 10000
		print l
	except EOFError:
		break

Submission status: Wrong Answer

Solution code:
while True:
	try:
		n = int(raw_input())
		l = int(100000*pow(1.05, n))
		if l%10000 > 5000:
			l -= l%10000
			l += 10000
		else:
			l -= l%10000
		print l
	except EOFError:
		break

Submission status: Wrong Answer

Solution code:
import math
a=100000
n=int(input())
for i in range(n):
    a=(a+0.05*a)
print(math.ceil(a/10000)*10000)

Submission status: Wrong Answer

Solution code:
from math import ceil
def roundint(num):
    fnum = float(num)
    inum = int(ceil(fnum * 0.0001) * 10000)
    return inum

debt = 100000
n = input()
debt += debt*0.05*n
print roundint(debt)

Submission status: Wrong Answer

Solution code:
from math import ceil
def roundint(num):
    fnum = float(num)
    inum = int(ceil(fnum * 0.0001) * 10000)
    return inum

debt = 100000
n = input()
debt += debt*0.05*n
print debt
print roundint(debt)

Submission status: Wrong Answer

Solution code:
from math import ceil
def roundint(num):
    fnum = float(num)
    inum = int(ceil(fnum * 0.001) * 1000)
    return inum

debt = 100000
n = input()
debt += debt*0.05*n
# print debt
print roundint(debt)

Submission status: Wrong Answer

Solution code:
from math import ceil
def roundint(num):
    # fnum = float(num)
    # inum = int(ceil(fnum * 0.0001) * 10000)
    # return inum
    num = int(num)
    if int(str(num)[-4:])>0:
        num += 10000
        num = int(str(num)[:-4]+"0000")
    return num

debt = 100000
n = input()
debt += debt*0.05*n
print roundint(debt)

Submission status: Wrong Answer

Solution code:
from math import ceil
def roundint(num):
    fnum = float(num)
    inum = int(ceil(fnum * 0.0001) * 10000)
    return inum

debt = 100000
n = input()
for x in xrange(n):
    debt += debt*0.05
print roundint(debt)

Submission status: Wrong Answer

Solution code:
from math import ceil
def roundint(num):
    fnum = float(num)
    inum = int(ceil(fnum * 0.0001) * 10000)
    return inum

debt = 100000
n = input()
for x in xrange(n):
    debt += debt*0.05
# print debt
print roundint(debt)

Submission status: Wrong Answer

Solution code:
import math
n=int(input())
s=100000
for i in range(n):
	s +=(s*0.05)
s=s/10000
s=math.ceil(s)*10
print(str(s)+"000")

Submission status: Wrong Answer

Solution code:
import math
n=int(input())
s=100000
for i in range(n):
	s +=(s*0.05)
s=s/10000
s=int(math.ceil(s)*10)
print(str(s)+"000")

Submission status: Wrong Answer

Solution code:
import math
n=int(input())
s=100000
for i in range(n):
	s +=(s*0.05)
s=s/10000
s=int(round(s,0)*10)
print(str(s)+"000")

Submission status: Wrong Answer

Solution code:
from math import ceil

n = int(input())
x = 100
for i in range(n):
    x = ceil(x * 1.05)
    print(x * 1000)

Submission status: Wrong Answer

Solution code:
a,i=5,100
import math
while a!=0:a,i=a-1,math.ceil(i*1.05)

Submission status: Wrong Answer

Solution code:
a,i=int(input()),100
import math
while a!=0:a,i=a-1,math.ceil(i*1.05)

Submission status: Wrong Answer

Solution code:
a,i=int(input()),100
import math
while a!=0:a,i=a-1,math.ceil(i*1.05)
print(str(i*1000))

Submission status: Wrong Answer

Solution code:
i=100
for ii in range(int(input())):
    i+=i/20
    if i!=int(i):
        i=int(i+1)
print(str(i*1000))

Submission status: Wrong Answer

Solution code:
i=100
for ii in range(int(input())):
    i+=i/20
    if i!=int(i):
        i=int(i+1)
print(str(int(i*1000)))

Submission status: Wrong Answer

Solution code:
n=input()
loan=10**5
for i in xrange(n):
    loan+=loan*0.05
    if loan%1000!=0:
        loan-=loan%1000
        loan+=10**3
    else:
        loan-=loan%1000
print(loan)

Submission status: Wrong Answer

Solution code:
import math

def Interest(money,n):
    for i in range(n):
        money *= 1.05
        money = math.ceil(money)
    return money

m = 100
n = input()

print n
print int(Interest(m,n)*1000)

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
def main(): 
	week = int(input())
	base = 100000
	x = 1
	for i in range(week):
		x = round(x * 1.05 + 0.004 ,2)
	print(x)
if __name__ == '__main__':
  main()

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
def main(): 
	week = int(input())
	base = 100000
	x = 1
	for i in range(week):
		x = round(x ** 1.05 + 0.004 ,2)
	print(x)
if __name__ == '__main__':
  main()

Submission status: Wrong Answer

Solution code:
import math

def calc_debt(week=0):
    return math.ceil(100000 * (1.05 ** (week + 1))//10000)*10000

print(calc_debt(int(input())))

Submission status: Wrong Answer

Solution code:
import math

def calc_debt(week=0):
    return math.ceil(100000 * (1.05 ** (week))/10000)*10000

print(calc_debt(int(input())))

Submission status: Wrong Answer

Solution code:
import math
n = input()
money = 100
for i in xrange(n):
    money *= 1.05
    m = math.ceil(money)
print "%i"%(money*1000)

Submission status: Wrong Answer

Solution code:
a=int(input())
for i in range(5):
	a*=1.05
	if a%1000==0:
		pass
	else:
		a=(a+1000)-a%1000
print(int(a))

Submission status: Wrong Answer

Solution code:
n = int(input())
dept = 100000
for i in range(n):
    dept += dept*0.05
print(int(round(dept,-4)))

Submission status: Wrong Answer

Solution code:
ans = 100000

n = int(raw_input())

for i in range(n):
  ans = int(ans * 1.05 / 1000) * 1000

print ans

Submission status: Wrong Answer

Solution code:
import math

ans = 100000

n = int(raw_input())

for i in range(n):
  ans = math.ceil(ans * 1.05 / 1000) * 1000

print ans

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-

n = int(input())
debt = 10000

for _ in range(n):
    tmp = debt * 0.05
    debt += tmp

print(round(debt / 1000) * 1000)

Submission status: Wrong Answer

Solution code:
# -*- coding: utf-8 -*-

n = int(input())
debt = 10000

for _ in range(n):
    tmp = debt * 0.05
    debt += tmp

print(round(debt / 1000) * 1000, end='')

Submission status: Wrong Answer

Solution code:
n = int(input())
d = 100000
c = 1000
for i in range(n):
    d *= 1.05
    d =int(d/c+0.9)*c

print(d)

Submission status: Wrong Answer

Solution code:
import math

n = eval(input())
yen = 100000
for i in range(5):
	yen += yen * 0.05
	yen = int(math.ceil(yen / 1000.0) * 1000)
print(yen)

Submission status: Wrong Answer

Solution code:
import math

n = int(input())
debt = 100
for i in range(n):
    debt = math.ceil(debt * 1.05)
    print(str(debt * 1000))

Submission status: Wrong Answer

Solution code:
n=input()
m = 100000

for _ in xrange(5):
    m = m + m*0.05
    m = m + ( (1000 - (m % 1000)) if (m % 1000) != 0 else 0)

print int(m)

Submission status: Wrong Answer

Solution code:
n=input()
m = 100000

for _ in xrange(5):
    m = m + m*0.05
    if m % 1000:
        m = m + 1000 - m % 1000
print int(m)

Submission status: Wrong Answer

Solution code:
debt=10**5
interest=5/100
n=int(input())

for week in range(n):
 debt=debt*(1+interest)
 if debt%1000>0:
  debt=debt+1000-(debt%1000)

print(debt)

Submission status: Wrong Answer

Solution code:
import math
n = int(input())
debt = 100000
for i in range(n):
	debt = int(math.ceil((debt * 1.05 / 1000) * 1000))
print(debt)

Submission status: Wrong Answer

Solution code:
import math
result = 100000
for i in range(int(input())): result *= 1.05
print(math.ceil(result/10000)*10000)

Submission status: Wrong Answer

Solution code:
import math
a = 100000
n = int(input())
for _ in range(5):
    a *= 1.05
print(math.ceil(a/10000)*10000)

Submission status: Wrong Answer

Solution code:
import math
a = 100000
n = int(input())
for _ in range(n):
    a *= 1.05
print(math.ceil(a/10000)*10000)

Submission status: Wrong Answer

Solution code:
n = int(input())
Mo = 100000*(1.05**n)
if Mo % 10000 != 0:
    Mo = (int(Mo/10000)+1)*10000
print(Mo)

Submission status: Wrong Answer

Solution code:
n = int(input())
Mo = 100000*(1.05**n)
if Mo % 10000 != 0:
    Mo = (int(Mo/10000)+1)*10000
print(int(Mo))

Submission status: Wrong Answer

Solution code:
from math import ceil
n=int(input())
print((int(ceil(10*(1.05)**n))*10000))

Submission status: Wrong Answer

Solution code:
n=input()
m=105
for i in range(n-1):
	m=m*21/20+1
print m*1000

Submission status: Wrong Answer

Solution code:
MOD = 1000

debt = 100
for i in range(int(input())):
    ceil = debt % 100 != 0
    debt = debt * 105 // 100
    if ceil:
        debt += 1
print(debt*MOD)

Submission status: Wrong Answer

Solution code:
import math

debt = 100
for i in range(int(input())):
    ceil = math.ceil(debt*1.05)
print(debt*1000)

Submission status: Wrong Answer

Solution code:
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import sys

n = int(sys.stdin.readline())
debt = 100000
interest = debt // 20
for i in range(n):
    debt += interest
if debt % 10000 >= 500:
    debt += 10000 - debt % 10000
print(debt)

Submission status: Wrong Answer

Solution code:
s = int(input())
print(int(100000+100000*(0.05*s)+1000*s))

Submission status: Wrong Answer

Solution code:
inp = int(input())
debt = 100000
num = 0
lisdeb = []
stdeb = ""

for i in range(inp):
    #debt *= 1.05
    debt +=6000
    debt = int(debt)
    print(debt)

    for i2 in range(len(str(debt))-1):
        lisdeb.append(str(debt)[i2])
    lisdeb.append(str(debt)[-1])

    for i2 in range(len(lisdeb)):
        if i2 == len(lisdeb)-3:
            stdeb += "0"
        elif i2 == len(lisdeb)-2:
            stdeb += "0"
        elif i2 == len(lisdeb)-1:
            stdeb += "0"
        else:
            stdeb += lisdeb[i2]
    debt = int(stdeb)
    lisdeb = []
    stdeb = ""
print(debt)

Submission status: Wrong Answer

Solution code:
inp = int(input())
debt = 100000
num = 0
lisdeb = []
stdeb = ""

for i in range(inp):
    debt +=6000
    debt = int(debt)

    for i2 in range(len(str(debt))-1):
        lisdeb.append(str(debt)[i2])
    lisdeb.append(str(debt)[-1])

    for i2 in range(len(lisdeb)):
        if i2 == len(lisdeb)-3:
            stdeb += "0"
        elif i2 == len(lisdeb)-2:
            stdeb += "0"
        elif i2 == len(lisdeb)-1:
            stdeb += "0"
        else:
            stdeb += lisdeb[i2]
    debt = int(stdeb)
    lisdeb = []
    stdeb = ""
print(debt)

Submission status: Wrong Answer

Solution code:
i = int(input())

x = 100000
for _ in range(i):
    x = x + x * 0.05
x = round(x, -4)

print(int(x))

Submission status: Wrong Answer

Solution code:
i = int(input())

x = 100000
for _ in range(i):
    x = x + x * 0.05
x = int(round(x, -4))

print(x)

Submission status: Wrong Answer

Solution code:
i = int(input())

x = 100000
for _ in range(i):
    x = x * 1.05
x = int(round(x, -4))

print(x)

Submission status: Wrong Answer

Solution code:
n = 10 ** 2
for i in range(int(input())) :
    n = float(n) * 1.05
    if n - int(n) > 0 : n = int(n) + 1
    else : n = int(n)
print(n * (10 ** 4))

Submission status: Wrong Answer

Solution code:
import sys

def main():
    n = int(input().rstrip())
    r = 1.05
    digit = -4
    a = 100000
    
    print(int(round(a*(r**n), digit)))
    
if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
import sys
import math

def main():
    n = int(input().rstrip())
    r = 1.05
    digit = 4
    a = 100000
    
    print(math.ceil(a*r**n/10**digit)*10**digit)
    
if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
week = int(input())
debt = 100000
for i in range(week):
  debt *= 1.05
ans = int(debt // 1000 *1000)
print(ans)

Submission status: Wrong Answer

Solution code:
#Write the program you'd like to run below.
import math
week = int(input())
debt = float(100000)
for i in range(week):
  debt = debt * 1.05
maru = math.ceil(debt / 10000)
ans = int(maru * 10000)
print(ans)

Submission status: Wrong Answer

Solution code:
#Write the program you'd like to run below.
import math
week = int(input())
debt = int(100000)
for i in range(week):
  debt = debt * 1.05
  debt = math.ceil(debt/10000)
  debt = int(debt * 10000)
print(debt)

Submission status: Wrong Answer

Solution code:
import sys

for line in sys.stdin:
    N = int(line.rstrip())
    print(len([[i0,i1,i2,i3] for i0 in range(10) for i1 in range(10) for i2 in range(10) for i3 in range(10) if sum([i0,i1,i2,i3]) == N]))

Submission status: Wrong Answer

Solution code:
debt = 100000
n = int(input())
def debt_hell(debt):
    s=int(debt*1.05) 
    t=s//100 
    u=t%10
    if u>0:
        debt = (t//10+1)*1000
    else:
        debt = (t//10)*1000
    return debt

for i in range(n):
    debt=debt_hell(debt)
print(debt)

Submission status: Wrong Answer

Solution code:
import math
shuu = input()
num = int(shuu)
ganpon = 1
i = 1
while i < num:
    ganpon *= 1.05
    ganpon += 0.009999
    i += 1
    pass
kotae = ganpon * 10
kotae += 0.999
kotae = math.floor(kotae)
kotae *= 10000
print(kotae)

Submission status: Wrong Answer

Solution code:
import math
shuu = input()
num = int(shuu)
ganpon = 1
i = 1
while i < num:
    ganpon *= 1.05
    i += 1
    pass
kotae = ganpon * 100
kotae += 9
kotae = math.floor(kotae)
kotae *= 10000
print(kotae)

Submission status: Wrong Answer

Solution code:
import math
shuu = input()
num = int(shuu)
ganpon = 100000
i = 1
while i < num:
    ganpon *= 1.05
    ganpon /= 1000
    ganpon = math.ceil(ganpon)
    ganpon *= 1000
    i += 1
    pass
print(ganpon)

Submission status: Wrong Answer

Solution code:
import math
shuu = input()
num = int(shuu)
ganpon = 1000
i = 1
while i < num:
    ganpon *= 1.05
    ganpon = math.ceil(ganpon)
    i += 1
    pass
ganpon /= 100
ganpon = math.ceil(ganpon)
ganpon *= 1000
print(ganpon)

Submission status: Wrong Answer

Solution code:
import math
shuu = input()
num = int(shuu)
ganpon = 1000
i = 1
while i < num:
    ganpon *= 1.05
    ganpon = math.ceil(ganpon)
    i += 1
    pass
ganpon /= 100
ganpon = math.ceil(ganpon)
ganpon *= 10000
print(ganpon)

Submission status: Wrong Answer

Solution code:
n=int(input())
print(n*10000+100000)

Submission status: Wrong Answer

Solution code:
import math

n=int(input())
debt=0
for i in range(1,n+1):
 debt+=i+0.05*100000
 result=debt+100000
 result=math.ceil(result/10000)*10000
print(result)

Submission status: Wrong Answer

Solution code:
import math

n=int(input())
debt=0
for i in range(1,n+1):
 debt+=i+0.05*100000
 result=debt+100000
 result=math.ceil(result/1000)*1000
print(result)

Submission status: Wrong Answer

Solution code:
import math

interest=100000
n=int(input())

for i in range(n):
    interest=interest*1.05
interest=math.ceil(interest/10000)*10000
print(interest)

Submission status: Wrong Answer

Solution code:
import math
n = int(input())
debt = 10**5
for i in range(5):
    debt *= 1.05
    few = math.ceil(debt / 10000)
print(few * 10000)

Submission status: Wrong Answer

Solution code:
import math

v = int(input())

cal = 100000
for w in range(5):
    cal = math.ceil(cal * 1.05 * 0.001) * 1000

print("%d" % cal)

Submission status: Wrong Answer

Solution code:
def main():
    n = int(input())
    ans = 100000
    for _ in range(n):
         ans = int(ans * 1.05)
         hoge = list(str(ans))
         hoge[-1] = "0"
         hoge[-2] = "0"
         hoge[-3] = "0"
         ans_str = ""
         for x in hoge:
             ans_str += x
         ans = int(ans_str) + 1000
    print(ans_str)


if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
n=int(input())
a=100000
for i in range(n):
    a*=1.05
print(int(round(a, -4)))

Submission status: Wrong Answer

Solution code:
n=int(input())
a=100000
for i in range(n):
    a*=1.05
print(int(round(a, -3)))

Submission status: Wrong Answer

Solution code:
import math
n=int(raw_input())
a=100000
for i in range(n):
    a=math.ceil(1.05*a/1000)*1000
print a

Submission status: Wrong Answer

Solution code:
import math
n=int(input())
a=100000
for i in range(n):
    a=math.ceil(1.05*a/1000)*1000
print (a)

Submission status: Wrong Answer

Solution code:
import math
n=int(input())
a=100000
for i in range(n):
    a=math.ceil(1.05*a/1000)*1000
print(a)

Submission status: Wrong Answer

Solution code:
week=int(input())
money=100000
for i in range(week):
    money=money*1.05
    if money%1000!=0:
        money=1000*(money//1000+1)

print(money)

Submission status: Wrong Answer

Solution code:
import math
n = input()

a = 100
for n in range(n):
    a = 1.05 * a
    a = math.ceil(a)
print (a*1000)

Submission status: Wrong Answer

Solution code:
import sys
import math

n = int(input())
debt = 100000
for i in range(1,n+1):
	debt = math.floor((debt*1.05)/1000)*1000
print(debt)

Submission status: Wrong Answer

Solution code:
import math
a = 100000
for n in range(int(input())):
	a = math.ceil(a*105/100)
print(a)

Submission status: Wrong Answer

Solution code:
import math
a = 100000
for n in range(int(input())):
	a = math.ceil(a*105/100)
print(int(a))

Submission status: Wrong Answer

Solution code:
n = int(input())
ans = 100000 + (100000 * (0.05 * n))
print(int(round(ans / 10000) * 10000))

Submission status: Wrong Answer

Solution code:
round=lambda x:(x*2+1)//2
n = int(input())
ans = 100000 + (100000 * (0.05 * n))
print(int(round(ans / 10000) * 10000))

Submission status: Wrong Answer

Solution code:
r=lambda x:(x*2+1)//2
n = int(input())
ans = 100000 + (100000 * (0.05 * n))
print(int(r(ans / 10000) * 10000))

Submission status: Wrong Answer

Solution code:
n = int(input())
r=lambda x:(x*2+1)//2
ans = int(100000 + (100000 * (0.05 * n)))
print(int(r(ans / 10000) * 10000))

Submission status: Wrong Answer

Solution code:
# -*-coding:utf-8
#???????¨????

import math

def main():

    debtTime = int(input())

    ans = int(culcDebt(debtTime))

    print(ans)

def culcDebt(t):
    debt = 100000
    for i in range(t):
        print('debt = {0}'.format(debt))
        debt = debt * 1.05
        debt = 1000 * math.ceil(debt/1000)

    return debt


if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
x = 100000
for i in range(int(input())):
    x*=1.05
    x+=999
    x=x//1000*1000
print(x)

Submission status: Wrong Answer

Solution code:
debt=100000
n=int(input())
debt=debt+(debt*0.05+1000)*n
print(int(debt))

Submission status: Wrong Answer

Solution code:
rishi=0.05
debt= 100000
week = int(raw_input())
kiriage = 10000

def ceil(src, range):
    return((int)(src / range) + 1) * range

for i in range(0,week):
    debt = debt * (1+rishi)

print debt
print ceil(debt, kiriage)

Submission status: Wrong Answer

Solution code:
rishi=0.05
debt= 100000
week = int(raw_input())
kiriage = 1000

def ceil(src, range):
    return((int)(src / range) + 1) * range

for i in range(0,week):
    debt = debt * (1+rishi)

print debt
print ceil(debt, kiriage)

Submission status: Wrong Answer

Solution code:
rishi=0.05
debt= 100000
week = int(raw_input())
kiriage = 1000

def ceil(src, range):
    print src * (1+rishi) % range
    if int(src * (1 + rishi) % range) == 0:
        return src * (1+rishi)
    else:
        return((int)(src*(1+rishi) / range) + 1) * range

for i in range(0,week):
    debt = ceil(debt, kiriage)
print debt

Submission status: Wrong Answer

Solution code:
import math
r = 100000*(1.05**int(input()))
print(math.ceil(r/10000)*10000)

Submission status: Wrong Answer

Solution code:
import math

n = int(input())
b = 100
for i in range(n):
  b += b * 0.05
  b = math.ceil(b)
print("%d" % b * 1000)

Submission status: Wrong Answer

Solution code:
a = raw_input()
print int(a)*5*100000/100+1000*int(a)+100000

Submission status: Wrong Answer

Solution code:
def int_floor(src,range):
    return (int)(src  / range)*range

def int_ceil(src,range):
    return ((int)(src / range) + 1) * range

def main():
    week = int(input())
    debt = 100000
    risi = int_ceil(int(debt*0.05) * week,10000)
    ans = debt + risi
    print(ans)

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
def int_ceil(src,range):
    return ((int)(src / range) + 1) * range

def main():
    week = int(input())
    debt = 100000
    risi = int_ceil(int(debt*0.05) * week,10000)
    ans = debt + risi
    print(ans)

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
import math
d=100
for _ in[0]*int(input()):
 d=math.ceil(d*1.05)
print(d*1e3)

Submission status: Wrong Answer

Solution code:
import math

def int_ceil(src,range):
    return int(math.ceil(src/float(range)) * range)

def main():
    week = int(input())
    debt = 100000
    for i in range(week):
        risi = debt * 0.05
        debt = int_ceil(debt+ risi,1000)

    print(math)

if __name__ == "__main__":
    main()

Submission status: Wrong Answer

Solution code:
# coding:utf-8
import math
week = int(input())
debt = 100000

for i in range(5):
    debt *= 1.05
    debt = math.ceil(debt / 1000) * 1000

print(debt)

Submission status: Wrong Answer

Solution code:
import math
n = int(input())
print(n)
money = int(100)
for i in range(n):
    money *= 1.05
    money = math.ceil(money)
print(int(money) * 1000)

Submission status: Wrong Answer

Solution code:
import math
n = int(input())
print(n)
money = int(100)
for i in range(n):
    money *= 1.05
    money = math.ceil(money)
print(int(money) * 1000)
print()

Submission status: Wrong Answer

Solution code:
week = int(input())


def myround(value, digit=0):
    p = 10 ** digit
    return (value * p * 2 + 1) // 2 / p


print(int(myround(100000 * (1 + 0.05)**week, -4)))

Submission status: Wrong Answer

Solution code:
from decimal import Decimal, ROUND_HALF_UP
week = int(input())
debt = 100000 * (1 + 0.05)**week
print(int(Decimal(debt).quantize(Decimal('1E4'), rounding=ROUND_HALF_UP)))

Submission status: Wrong Answer

Solution code:
from decimal import Decimal, ROUND_HALF_UP
week = int(input())
debt = 100000 * (1 + 0.05)**week
print(int(Decimal(debt).quantize(Decimal('1E4'), rounding=ROUND_HALF_UP)), end="")

Submission status: Wrong Answer

Solution code:
import math
week = int(input())
debt = 100000
for i in range(week):
    debt = math.ceil(debt*1.05/1000)*1000
    print(int(debt))
print(int(debt))

Submission status: Wrong Answer

Solution code:
x=100000
n=int(input())
for i in range(n):
    x*=1.05
    if x%1000!=0:
        x+=1000-x%1000
print(x)

Submission status: Wrong Answer

Solution code:
print(int(round(100000 * (1.05 ** int(input())), -4)))

Submission status: Wrong Answer

Solution code:
while True:
    try:
        print(int(round(100000 * (1.05 ** int(input())), -4)))
    except EOFError:
        break

Submission status: Wrong Answer

Solution code:
n = int(input())

print(int(round(100000 * (1.05 ** n), -4)))

Submission status: Wrong Answer

Solution code:
print(int(round(100000 * (1.05 ** int(input())), -4)), end='\n')

Submission status: Wrong Answer

Solution code:
import math
a=100
for _ in[0]*int(input()):a=int(a*1.05)
print(a*1000)

Submission status: Wrong Answer

Solution code:
import math
a=100
for _ in[0]*int(input()):a=int(a*1.05+.5)
print(a*1000)

Submission status: Wrong Answer

Solution code:
a=100
for _ in[0]*int(input()):a=int(a*1.05+1)
print(a*1000)

Submission status: Wrong Answer

Solution code:
a=100
for _ in[0]*int(input()):a=int(a*1.05)+(a%100>0)
print(a*1000)

Submission status: Wrong Answer

Solution code:
import math
N = int(input())
A = 100000
for _ in range(N):
    A = A * 1.05
A = (int(math.ceil(A / 10000))) * 10000
print(A)

Submission status: Wrong Answer

Solution code:
n = int(input())
ans = 100000
for i in range(n):
    ans *= 1.05
if ans % 1000 > 0:
    ans = ans // 10000 * 10000 + 10000
print(int(ans))

Submission status: Wrong Answer

Solution code:
import math

r = 100
n = 5
for i in range(n):
    r = math.ceil(r * 1.05)
print(r * 1000)

Submission status: Wrong Answer

Solution code:
m = 100000
for i in range(int(raw_input())):
    m*=1.05
    m=(int((m+999)/1000))*1000

    print m

Submission status: Wrong Answer

Solution code:
import math
n = input()
m = 100000
for i in range(n):
    m *= 1.05
    print m
    m = math.ceil(m/1000)*1000
print int(m)

Submission status: Wrong Answer

Solution code:
week = input()


amou = 10**5

for x in range(week):
    amou = amou*1.05



print int(int(amou)/10000*10000) + 10000

Submission status: Wrong Answer

Solution code:
week = input()


amou = 100000

for x in range(week):
    amou = amou*1.05


array = list(str(int(amou)))


array[-1],array[-2],array[-3]= '0', '0', '0'


amou = 0
for i in range(len(array)):
    amou = amou + int(array[-(1+i)])*10**i

if int(array[-4]) == 0:
    print amou
else:
    amou = amou + 10000 - int(array[-4])*1000
    print amou

Submission status: Wrong Answer

Solution code:

while True:
    try:
        week = input()
        
        
        amou = 100000
        
        for x in range(week):
            amou = amou*1.05
        
        
        array = list(str(int(amou)))
        
        
        array[-1],array[-2],array[-3]= '0', '0', '0'
        
        
        amou = 0
        for i in range(len(array)):
            amou = amou + int(array[-(1+i)])*10**i
        
        if int(array[-4]) == 0:
            print amou
        else:
            amou = amou + 10000 - int(array[-4])*1000
            print amou
    except EOFError:
        break

Submission status: Wrong Answer

Solution code:
n = input()
m = 100000
for i in range(n):
 m *= 1.05
 m = (m + 900) / 1000 * 1000

Submission status: Wrong Answer

Solution code:
n = input()
m = 100000
for i in range(n):
 m *= 1.05
 m = (m + 900) / 1000 * 1000

print m

Submission status: Wrong Answer

Solution code:
n = input()
a = 100000
for val in xrange(1,n+1):
	a * 1.05
	a/1000*1000
print a

Submission status: Wrong Answer

Solution code:
import math
n = input()
a = 100000
for val in range(1,n+1):
	a *= 1.05
	A = math.ceil(a/1000) * 1000
	a = A 
print a

Submission status: Wrong Answer

Solution code:
n = input();

ans = 100000;
for i in range(n):
  ans *= 1.05
  ans += 999;
  ans /= 1000;
  ans *= 1000;

print ans

Submission status: Wrong Answer

Solution code:
import math
base = 100000
r = base * 0.05
n = int(raw_input())
if n <= 100:
    q = int(math.ceil((r * n) / 1000))
    print "{}".format(base + (q * 1000))

Submission status: Wrong Answer

Solution code:
import math
base = 100000
r = base * 0.05
n = int(raw_input())
if n <= 100:
    q = int(math.ceil((r * n) / 10000))
    print "{}".format(base + (q * 10000))

Submission status: Wrong Answer

Solution code:
import math
base = 100000
r = 0.05
n = int(raw_input())
if n <= 100:
    for i in range(1, n+1):
        base = base + (base * r)
    now = int(math.ceil(base / 1000))
    print "{}".format(now * 1000)

Submission status: Wrong Answer

Solution code:
import math
base = 100000
r = 0.05
n = int(raw_input())
if n <= 100:
    for i in range(1, n+1):
        base = base + (base * r)
    now = int(math.ceil(base / 10000))
    print "{}".format(now * 10000)

Submission status: Wrong Answer

Solution code:
import math
base = 100000
r = 0.05
try:
    while True:
        n = int(raw_input())
except EOFError:
    pass
if n <= 100:
    for i in range(1, n+1):
        base = base + (base * r)
    now = int(math.ceil(base / 1000))
    print "{}".format(now * 1000)

Submission status: Wrong Answer

Solution code:
print 1353000

Submission status: Wrong Answer

Solution code:
from math import ceil
a = input()
print int(10+ceil(sum([10*0.05 for x in xrange(a)])))*1000

Submission status: Wrong Answer

Solution code:
from math import ceil
a = input()
print int(10+ceil(sum([10*0.05 for x in xrange(a)])))*10000

Submission status: Wrong Answer

Solution code:
import math

n = input()
money = 100000

for i in range(0, n):
    money += money*0.05

money /= 10000

print int(math.ceil(money)*10000)

Submission status: Wrong Answer

Solution code:
n = input()
money = 100000
for i in range(n):
    money *= 1.05
print money

Submission status: Wrong Answer

Solution code:
print 1353e4

Submission status: Wrong Answer

Solution code:
import math

n=input()
money = 100000
for i in range(n):
    money = math.ceil(money * 1.05/1000)*1000
    print "%d" %(money)

Submission status: Wrong Answer

Solution code:
m=10**5
for i in range(input()):
  print m
  m*=1.05
  m = int(m)-m%1000+1000 if m%1000!=0 else int(m)
print int(m)

Submission status: Wrong Answer

Solution code:
num = int(raw_input())
result = 10
for i in range(num):
	result *= 1.05

print result
print int(round(result))*10000

Submission status: Wrong Answer

Solution code:
num = int(raw_input())
result = 10
for i in range(num):
	result *= 1.05

print int(round(result))*10000

Submission status: Wrong Answer

Solution code:
#!/usr/bin/python
# -*- coding: utf-8 -*-

num = int(raw_input())
result = 100
for i in range(num):
	result *= 1.05

print int(round(result))*1000