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

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

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

Python: import math

debt = 100000
n = int(input())

for i in range(n):
    debt *= 1.05
    debt = math.ceil(debt * 0.001) * 1000

print(debt)

Python: from math import ceil 
def interest(debt, rate, weeks):
    if weeks == 1:
        return ceil(debt * (1 + rate))
    else:
        return ceil(interest(debt, rate, weeks - 1) * (1 + rate))

rounds = 1000
rate = 0.05
debt = 100000
weeks = int(input())
print(int(rounds*interest(debt/rounds, rate, weeks)))

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

#for i in sys.stdin:
#	a,b=map(int,i.split())
#	print(gcd(a,b),lcm(a,b))

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

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

Python: #!/usr/bin/env python3
def main():
    N = int(input())
    c = 100000
    for _ in range(N):
        c *= 1.05
        t = c % 1000
        if t > 0:
            c += 1000 - t
    print(int(c))

if __name__ == "__main__":
    main()

Python: i = int(input())

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

print(x)

Python: N = int(input())
debt = 100000
for i in range(N):
    debt *= 1.05
    if debt % 1000 > 0:
        debt = debt + 1000 - debt % 1000
print(round(debt))

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())
a=100000
for i in range(n):
    a=math.ceil(1.05*a/1000)*1000
print(a)

Python: import math

debt = 100000
rate = 0.05
n = int(input())

def CalcDect():
    global debt
    global n

    if n <= 0:
        return

    debt += (debt * rate)
    debt = int(math.ceil(debt / 1000)) * 1000
    n -= 1
    CalcDect()

CalcDect()
print(debt)

Python: # -*- coding: utf-8 -*-

n = int(input())
debt = 10000

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

print(round(debt / 1000) * 1000)

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

Python: import math

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

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

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
f=100000
for i in range ( int ( input ( ) ) ):
    f=f*1.05
    f=int(math.ceil(f/1000)*1000)
    
print( f )

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

print(x*1000)

Python: import math
n=int(input())
x=100000
for i in range(n):
    x*=1.05
    x=math.ceil(x)
    if x%1000:
        x=x-(x%1000)+1000
print(x)

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 sys
import math

monney = 100000
n = int(sys.stdin.readline().rstrip())
for i in range(n):
    monney = math.ceil(monney * 1.05 / 1000) * 1000
print(monney)

Python: import math

v = int(input())

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

print("%d" % cal)

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

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: import math
n = input()

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

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

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

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

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

money = 100000
par = 1.05

for i in range(n):
    up = (money*1.05)/1000
    money = math.ceil(up)*1000
    #print(up*1000, money)
print(money)

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: def Round(ip, dg):  # ip???dg?????§?????¨?????\????????¢??°
    ip = ip / 10**dg
    if(ip-int(ip) != 0):
        return (int(ip) + 1)*10**dg
    else:
        return int(ip)*10**dg


n=int(input())
sum=100000
for i in range(0, n):
    sum=Round(sum*1.05, 3)
print(sum)

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

Python: # -*- coding: utf-8 -*-

import sys
import os
import math


N = int(input())
cost = 100000

for i in range(N):
    cost *= 1.05
    cost = round(cost)

    if cost % 1000 > 0:
        cost = (cost // 1000) * 1000 + 1000
print(cost)

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

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

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

Python: import math

n = int(input())
d = 100000

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

Python: while True:
    try:
        n = int(input())
        dept = 100000
        for i in range(0,n):
            dept += dept * 0.05
            round = dept % 1000
            if round > 0:
                dept += 1000 - round
        print(int(dept))
    except:
        break

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

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

print(s)

Python: debt = 100000

weeks = int(input())
for i in range(weeks):
    debt = int(debt * 1.05)
    frac = debt % 1000
    if frac != 0:
        debt = debt - frac + 1000
print(debt)

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

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

for i in range(n):
    d *= 1.05
    if d % 1000:
        d = d - d%1000 + 1000
print(int(d))

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

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