Go: package main

import "fmt"

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

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

	if week != 0 {
		nWeekDept = dept + addDept*week
	}

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

Python: n = int(input())

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

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

Python: i = int(input())

x = 100000
for _ in range(i):
    x *= 1.05
    x = int((x+999) / 1000) * 1000

print(x)

Python: i=100
for ii in range(int(input())):
    i+=i/20
    if i!=int(i):
        i=int(i+1)
print(str(int(i*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 _ in range(week):
        risi = debt * 0.05
        debt = int_ceil(debt + risi, 1000)
    print(debt)

if __name__ == "__main__":
    main()

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

Python: import math

def myceil(x,n):
  return math.pow(10,-n)*math.ceil(x*math.pow(10,n))

def debt(principal,w):
  if w==1:
    return int(myceil(principal*1.05,-3))
  else:
    return int(debt(myceil(principal*1.05,-3),w-1))



w=int(input())
print(debt(100000,w))

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

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

Python: import math

def roundup1000(num):
    return math.ceil(num  / 1000) * 1000

debt = 100000
for _ in range(int(input())):
    debt = roundup1000(debt * 1.05)
print(debt)

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

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

Python: n = int(input())
ans = 100000
# ans += (n*(100000*0.05))
for i in range(n):
    ans *= 1.05
    if ans % 1000 > 0:
        ans = ans // 1000 * 1000 + 1000
print(int(ans))

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

Python: print(lambda f,n:f(f,n))(lambda f,n:n==0 and 100000 or(lambda x:x%1000>0 and x-x%1000+1000 or x)(f(f,n-1)*105/100),int(raw_input()))

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

Python: base, rate = 100, 1.05
for _ in range(int(input())):
    base *= rate
    if not base.is_integer():
        base = int(base) + 1

print(base * 1000)

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(int(money))

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

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 = 10**5
for i in range(5):
    debt *= 1.05
    few = math.ceil(debt / 10000)
print(few * 10000)

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

Python: 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
#ganpon /= 1000
#ganpon = math.ceil(ganpon)
#ganpon *= 100000
print(ganpon)

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

Python: import math

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

Python: import math
n=int(input())
z=100000
for i in range(1,n+1):
  z+=z*5/100
  z=(math.ceil(z/1000))*1000
print(z)

Python: import math
while True:
    try:
        n=input()
        x=100000
        for i in xrange(n):
            x=math.ceil(x*1.05/1000)*1000
        print(int(x))
    except EOFError: break

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

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

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

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

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

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

Python: n=int(input())
i=0
money=100000
while i<n:
    money+=money*5//100
    if(money%1000!=0):
        money=money+1000-money%1000
    i+=1
print(money)

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

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

Python: import math
n=int(input())
x=100000
for i in range(n):
    x=x*1.05
   # print('5%',x)
    x=x/1000
    #print('/1000',x)
    x=math.ceil(x)
    #print('cut',x)
    x=x*1000
    #print('*1000',x)
print(x)

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

Python: def main():
    debt = 100000
    n = int(input())
    for i in range(n):
        debt = debt * 1.05
        if debt % 1000 > 0:
            debt = (debt // 1000 * 1000) + 1000
    print(int(debt))

if __name__ == '__main__':
    main()

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

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

Python: import math

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

Python: n=int(input())
x=100000
for i in range(n):
    x=x+x*0.05
    x=((x-1)//1000+1)*1000
print(int(x))

Python: n = int(input())
x = 100000
for i in range(n):
    x = x*1.05
    if x % 1000 == 0:
        pass
    else:
        x = x//1000
        x = x+1
        x = x*1000
print('{:.0f}'.format(x))

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

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

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

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

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

Python: import sys
import math

n = (int)(input())
money = 100000.0

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

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

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: a = 100000;
n = int(input())
while n > 0:
	n -= 1
	a = 105*a//100
	a = ((a - 1) // 1000 + 1) * 1000
print(a)