Go: package main

import "fmt"

var (
	dept    int = 100000
	addDept int = dept / 100 * 5
)

func main() {
	var week int
	fmt.Scan(&week)

	nWeekDept := dept + addDept*(week+1)

	if nWeekDept/addDept%2 != 0 {
		nWeekDept += addDept
	}
	fmt.Println(nWeekDept)
}

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)

Python: import math

v = int(input())

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

print("%d" % cal)

Python: a= 100000;
n = int(input())
while n > 0:
	n -= 1
	a = a + (a * 5) // 100
	a = ((a - 1) // 1000 + 1) * 1000 
print(a)

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

Python: def ceil(src, range):
    k = src / 1000
    if k == int(k):
        return int(src)
    else:
        return ((int)(src / range) + 1 ) * range

debt = 100000
for x in range (0, int(input())):
    debt = ceil(debt * 1.05, 1000)
    
print(int(debt))

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

Python: from math import ceil

yen = 100000
for i in range(int(input())):
    yen = ceil((yen*1.05)/1000)*1000
print(yen)

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

Python: import sys
import math

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

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

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

Python: from math import ceil

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

Python: n=int(input())
value=int(100000)
for i in range(n):
    value=value/100*105
    if value%1000>0:
        value-=value%1000
        value+=1000

print(int(value))

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

Python: a=100000;
n=int(input())

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

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

Python: import math

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

print(y*1000)

Python: import math
N = int(input())
o = 100.000
for i in range(N):
    o += math.ceil(o*0.05)
    i += 1
print(int(o*1000))

Python: money = 100000
n=int(input())
for day in range(n):
     money += money*0.05
     money =-(-money//1000)*1000
print(int(money))