Go: package main
import (
	"fmt"
	"os"
	"strconv"
	"bufio"
	"math"
)

var sc = bufio.NewScanner(os.Stdin)

func main(){
	sc.Split(bufio.ScanWords)
	n := nextInt()
	ans := calc(n)
	fmt.Println(ans)
}

func calc(n int) float64{
	tmp := 100000.0
	for i:=0; i<n; i++{
		tmp*=1.05
		// tmp = Ceil(tmp, -4) なぜかうまくいかない
		tmp = Ceil(tmp, -3)
		// fmt.Printf("now tmp: %d\n", int(tmp))
	}
	return tmp
}

func Ceil(f float64, places int) float64{
	shift := math.Pow(10, float64(places))
	return math.Ceil(f * shift)/shift
}

func next()string{
	sc.Scan()
	return sc.Text()
}

func nextInt()int{
	a, _ := strconv.Atoi(next())
	return a
}

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)

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)