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