Go: package main

import "fmt"

func roundUp100(dept float64) float64 {
	iDept := int(dept)
	if iDept-(iDept/1000*1000) != 0 {
		iDept = ((iDept / 1000) + 1) * 1000
	}
	return float64(iDept)
}

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

	dept := 100000.0
	for i := 0; i < week; i++ {

		dept *= 1.05
		dept = roundUp100(dept)
	}

	fmt.Println(dept)
}

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)

Python: from decimal import Decimal,ROUND_UP
n = int(input())
a = 100000
for i in range(n):
    a = a * 1.05
    y = Decimal(str(a))
    a = y.quantize(Decimal('1E3'), rounding=ROUND_UP)
    a = int(a)
print(a)

Python: import math
price = 100000.0
n = int(raw_input())
for i in range(n):
    price = ceil((price * 1.05) / 1000) * 1000

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

Python: # coding:utf-8
import math
week = int(input())
debt = 100000

for i in range(5):
    debt *= 1.05
    debt = math.ceil(debt / 1000) * 1000

print(debt)

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

Python: def next_week(x):
    return ((x * 1.05) // 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: import math
n=int(input())
a=100000
for i in range(n):
    a=math.ceil(1.05*a/1000)*1000
print(a)

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

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())
s=100000
for i in range(n):
    s=s*(1+5/100)
    s=-(-s//1000)
    s=s*1000
print(int(s))

Python: n=input()
loan=10**5
for i in xrange(n):
    loan+=loan*0.05
    if loan%1000!=0:
        loan-=loan%1000
        loan+=10**3
    else:
        loan-=loan%1000
print(loan)

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

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

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

Python: # coding: utf-8
# Your code here!
n=int(input())
x=100000
for i in range(n):
    x=x*1.05
    
    if x%1000!=0:
        x=int(x//1000*1000+1000)

print(x)

Python: #Write the program you'd like to run below.
import math
week = int(input())
debt = int(100000)
for i in range(week):
  debt = debt * 1.05
  debt = math.ceil(debt/10000)
  debt = int(debt * 10000)
print(debt)

Python: import sys
import math
def rishi(n,a):
    if(n>0):
        a=a*1.05
        a1=a%1000
        if(a1 != 0):
            a=a-a1+1000
        n=n-1
        return (rishi(n,a))
    else:
        return a

a=100000
n=int(input())
n_sum=rishi(n,a)
print(round(n_sum))

Python: from __future__ import (division, absolute_import, print_function,
                        unicode_literals)
debt = 100000.0
for i in xrange(int(raw_input())):
    debt += debt * 0.05
    debt = debt - (debt % 1000.0) + (1000.0 if debt % 1000.0 else 0.0)
print(int(debt))

Python: import math

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

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

Python: import math

n=int(input())
a=100
i=1
while i<=n:
    a+=a*0.05
    a=math.ceil(a)
    i+=1

print(a*1000)

Python: import sys

def main():
    n = int(input().rstrip())
    r = 1.05
    digit = -4
    a = 100000
    
    print(int(round(a*(r**n), digit)))
    
if __name__ == '__main__':
    main()

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

print(m)

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

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

Python: import math
def DebtHell():
    n = int(input())
    debt = 100000
    
    while n>0:
        n-=1
        debt*=1.05
        debt = int(int(math.ceil(debt/1000)*1000))

    print(debt)
    
    
DebtHell()

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: import math
x=100
for i in range(int(input())):
    x=math.ceil(x*1.05)
print(str(x)+"000")

Python: import math

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

Python: import math
shuu = input()
num = int(shuu)
ganpon = 1
i = 1
while i < num:
    ganpon *= 1.05
    ganpon += 0.009999
    i += 1
    pass
kotae = ganpon * 10
kotae += 0.999
kotae = math.floor(kotae)
kotae *= 10000
print(kotae)

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

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

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

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

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

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

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

print(a)

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

Python: import math

debt = 100
n = int(input())

for _ in range(n):
	debt = math.ceil(debt * 1.05)

print(debt * 1000)

Python: i = int(input())

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

print(x)

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

Python: #0007
from math import floor, ceil
n = int(input())
sum = 100000
for i in range(n):
    sum += sum*0.05
    if sum%1000 == 0:
        sum = sum
    else:
        sum = ((sum//1000)+1) * 1000
print(int(sum))

Python: print(int(round(100000 * (1.05 ** int(input())), -4)), end='\n')

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

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

money = 100000

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

print(money)

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

Python: from math import ceil

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

print(debt * 1000)

Python: import math

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

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

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