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) import math math n=int(input()) n int(input()) int input() input x=100000 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) i range(n) range n x=x*1.05 x x*1.05 x 1.05 x=x/1000 x x/1000 x 1000 x=math.ceil(x) x math.ceil(x) math.ceil math ceil x x=x*1000 x x*1000 x 1000 print(x) print x n=int(input()) int(input()) n x=x*1000 x*1000 x x=math.ceil(x) math.ceil(x) x x=x*1.05 x*1.05 x x=100000 100000 x x=x/1000 x/1000 x
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)