Go: package main

import (
	"fmt"
	"math"
)

const (
	INTEREST float64 = 0.05
	DEBT     int     = 100000
)

func main() {
	var x int
	interestDebt := DEBT
	fmt.Scanf("%d", &x)
	for i := 0; i < x; i++ {
		interestCalc := MakeCalcInterest(float64(interestDebt)) + int(interestDebt)
		interestDebt = RoundUp(float64(interestCalc))
	}
	fmt.Printf("%d\n", interestDebt)
}

func MakeCalcInterest(x float64) int {
	return int((x * INTEREST))
}

func RoundUp(x float64) int {
	return int(math.Ceil(x*0.001) * 1000)
}

Python: from math import ceil
n = int(input())

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

Python: a=100000
n=int(input())
for i in range(n):
    a*=1.05
    if a%1000:
        a=int(a//1000*1000+1000)
print(a)

Python: import math
import itertools
x = 100
for _ in itertools.repeat(None,int(input())):
    x = math.ceil(x*1.05)
print(x*1000)

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

Python: import math

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

Python: n=int(input())
ans=100000

for i in range(n):
    ans+=ans*0.05
    if ans%1000!=0:
        ans-=ans%1000
        ans+=1000
    ans=int(ans)
print(ans)

Python: from math import ceil

DEBT = 100000
DIGITS = 1000
INTEREST_RATE = 1.05

def calc_debt(n):
    d = DEBT // DIGITS
    while n > 0:
        d = ceil(d * INTEREST_RATE)  # 借金の小数点以下を切り捨て
        n  -= 1
    return d * DIGITS

n = int(input())
print(calc_debt(n))

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

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

def money(x):
  A =100
  for i in range(x):
    A=math.ceil(A*1.05)  
#    print(A)
  return A*1000

print(money(n))

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

Python: from math import ceil
n = int(input())
d = 100000
c = 1000
for i in range(n):
    d *= 1.05
    d =int(ceil(d/c))*c
print(d)

Python: import math

S=100000
n=int(input())

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

print(S)

Python: # AOJ 0007 Debt Hell
# Python3 2018.6.7 bal4u

a = 100000;
n = int(input())
while n > 0:
	n -= 1
	a = a + (a * 5) // 100
	a = ((a - 1) // 1000 + 1) * 1000   # 1000未満の切り上げ
print(a)

Python: import math
n=int( input())
a=100000
for i in range(n):
    
    a+=a*0.05
    a=math.ceil(a/1000)*1000
   
print(math.floor(a))

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

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

Python: import math

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

print(debt*1000)

Python: t = int(input())
a = 100000
for i in range(t):
        a = a * 1.05
        if a % 1000:
                a = a - (a % 1000) + 1000
print(int(a))

Python: n = int(input())
s = 100000

for i in range(n) :
    s *= 1.05
    m = s % 1000
    if m != 0 :
        s = s - m + 1000

print(int(s))

Python: n = int(input())
S = 100000
for i in range(n) :
    S *= 1.05
    if S % 1000 != 0 :
        S = (int(S / 1000) + 1) * 1000
print(S)

Python: #! /usr/bin/python3

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

Python: money =100000
import math
count = int(input())

for i in range(count):
    newmoney =math.ceil(money*1.05/1000)*1000
    money=newmoney

print(money)

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

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

Python: n=int(input())
if 0<=n<=100:
    sum=100000
    for i in range(n):
        sum=sum*1.05
        if sum%1000==0:
            pass
        else:
            sum=sum-(sum%1000)+1000
    print(int(sum))

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

Python: n = input()
ans = 100000

for i in range(int(n)):
    add = int(ans*0.05)
    #print("first_add:" + str(add))
    add_list = list(str(add))
    digits = len(add_list)    
    sub3 = int(add_list[digits-3]+add_list[digits-2]+add_list[digits-1])
    add = int("".join(add_list))
    #print("sub3:"+ str(sub3))
    if sub3<1000 and sub3 > 0:
        add = add - sub3 + 1000
        #print("revised_add:" + str(add))
        
    ans = ans + add
    #print("ans:" + str(ans))

print(ans)

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

Python: import math
loan = 100000
n = int(input())
for i in range(n):
    loan += math.ceil(loan * 0.05 / 1000) * 1000
print(loan)

Python: import math
a = 100
for _ in range(int(input())):a=math.ceil(a*1.05)
print(a * 1000)

Python: x = int(input())

n = 100000
while x > 0:
    n *= 1.05
    mod = n % 1000
    if mod:
        n += 1000 - mod
    x -= 1

print(int(n))

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

Python: import math
j = 100
for _ in range(int(input())):
    j = math.ceil(j * 1.05)
print(j * 1000)

Python: # coding: utf-8
# Your code here!

m = 100000;
n = int(input())

while n>0:
    n -= 1
    m = m + (m*5)//100
    m = ((m-1) // 1000+1) * 1000
print(m)

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

Python: 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")

Python: n=int(input())
i=1
s=100000//1000
import math
while i <= n:
    i+=1
    s = s*1.05
    s = math.ceil(s)
    
print(s*1000)

Python: import math
n=int(input())
x=100000
for i in range(n):
    x=x+0.05*x
    x=(math.ceil(x/1000))*1000
    
print(x)

Python: import math

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

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

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

Python: import math

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

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

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

if n == 0:
    a=100000
else:
    c = int(100)
    for i in range(n):
        num = c*1.05
        c = math.ceil(num)
        a = c*1000

print(a)

Python: ans = 100000
for _ in range(int(input())):
    ans *= 1.05
    if ans % 1000:
        ans += 1000 - ans % 1000
print(int(ans))

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

Python: n=int(input())
s=100000
a=1
a=a+1
for i in range(n):
    if (s*1.05)%1000==0:
        s=s*1.05
    else:
        s=s*1.05-(s*1.05)%1000+1000
print(int(s))

Python: a=100000
j=int(input())
for i in range(j):
	a*=1.05
	if a%1000==0:
		pass
	else:
		a=(a+1000)-a%1000
print(int(a))

Python: n = int(input())

a = 100000

for i in range(n):
        a = a+a*0.05
    
        if a%1000 !=0:
            a = int(((a//1000)+1)*1000)
print(a)