Go: package main

import "fmt"

var (
	dept    float64 = 100000
	addDept float64 = dept * 0.05
)

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

	nWeekDept = dept + (addDept * float64(week))

	if int(nWeekDept)%1000 != 0 {
		nWeekDept += addDept
	}
	fmt.Println(nWeekDept)
}

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)

Python: import sys
w=int(input())
base=100000
for i in range(w):
  base=base*1.05
  if base%1000!=0:
    base=base-base%1000+1000
  
print(int(base))

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

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

week = int(raw_input())
debt = 100000
for i in range(week):
    debt = debt*1.05
    if debt%1000 != 0:
        debt -= debt%1000
        debt += 1000
print(int(debt))

Python: # coding=utf-8

n = int(input())
debt = 100000

for i in range(n):
    debt *= 1.05
    if debt % 1000 != 0:
        debt = ((debt // 1000)+1)*1000

print(int(debt))

Python: import math
n = input()

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

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

Python: 
m = 100000
rate = 0.05
n = int(input())
for i in range(n):
    m += m*rate
    x = m%1000
    m -= x
    while(x % 1000 != 0):
        x += 1
    m += x
print(str(int(m)))

Python: import math

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

Python: x=int(input())
i=0
a=100000
while x>i :
    a=a+a*0.05
    if a%1000!=0 : a=a+1000
    a=int(a/1000)
    a=a*1000
    i=i+1
print(a)

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

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

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

Python: import math

def run():
    m = 100
    r = 1.05
    n = int(input())
    for _ in range(n):
        m = math.ceil(m * r)

    print(m * 1000)


if __name__ == '__main__':
    run()

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

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

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

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

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: import math
res = 100
N = int(input())
for i in range(N):
    res = math.ceil(res * 1.05)
print("%d000" % res)

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

Python: n = int(input())
a = 100000
while n>0:
  a *= 1.05
  if a % 1000 != 0:
    a = int(a + 1000 - (a%1000))
  n -= 1
print(a)

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: #!/usr/bin/env python3
# -*- coding: utf-8 -*-
def main(): 
	week = int(input())
	base = 100000
	x = base
	for i in range(week):
		x = round(x * 1.05)
		if x % 1000 > 0:
			x = (x // 1000) *1000 +1000
	print(x)
if __name__ == '__main__':
  main()

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

Python: import sys
import math

for line in sys.stdin:
    debut = 100000
    weeks = int(line)
    for i in range(weeks):
        debut = debut * 1.05
        debut = math.ceil(debut/1000)*1000
    print(debut)

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

Python: ###
### atcorder test program
###

import sys

### math class
class math:
    ### pi
    pi = 3.14159265358979323846264338

    ### GCD
    def gcd(self, a, b):
        if b == 0:
            return a
        return self.gcd(b, a%b)

    ### LCM
    def lcm(self, a, b):
        return (a*b)//self.gcd(a,b)

math = math()

### output class
class output:
    ### list
    def list(self, l):
        l = list(l)
        print(" ", end="")
        for i, num in enumerate(l):
            print(num, end="")
            if i != len(l)-1:
                print(" ", end="")
        print()

output = output()

### input sample
#i = input()
#A, B, C = [x for x in input().split()]
#inlist = [int(w) for w in input().split()]
#R = float(input())
#A = [int(x) for x in input().split()]
#for line in sys.stdin.readlines():
#    x, y = [int(temp) for temp in line.split()]

### output sample
#print("{0} {1} {2:.5f}".format(A//B, A%B, A/B))
#print("{0:.6f} {1:.6f}".format(R*R*math.pi,R*2*math.pi))
#print(" {}".format(i), end="")

m = 100000

for i in range(int(input())):
    m *= 1.05
    if m%1000 != 0:
        m = (m//1000+1) * 1000
    else:
        m = (m//1000) * 1000

print(int(m))

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

x = 100000
n = int(input())

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

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

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: 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: import math
a=100
for _ in[0]*int(input()):a=int(a*1.05+.5)
print(a*1000)

Python: import math

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

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

for i in range(n):
    s = int((s*1.05)/1000+0.9999)*1000

print(s)

Python: num = int(input())
debt = 100000
for x in range(num):
    debt = debt * 105 / 100
    if debt % 1000 != 0:
        debt = ((debt // 1000) + 1) * 1000
    else:
        pass
print(int(debt))

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

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: n=int(input())
s=100000
for i in range(n):
    s=s*1.05
    if s%1000==0:
        s=s
    else:
        s=(s//1000)*1000+1000
print(int(s))

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

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

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

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

Python: base, rate = 100, 0.05
for _ in range(int(input())):
    increment = base * rate
    base += round(increment + (0 if increment.is_integer() else 0.5))

print(base * 1000)