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

#for i in sys.stdin:
#	a,b=map(int,i.split())
#	print(gcd(a,b),lcm(a,b)) import sys sys import math as m math n=int(input()) n int(input()) int input() input out=100000 out 100000 for i in range(n):
	out=m.ceil(out*1.05/1000)*1000 i range(n) range n out=m.ceil(out*1.05/1000)*1000 out m.ceil(out*1.05/1000)*1000 m.ceil(out*1.05/1000) m.ceil m ceil out*1.05/1000 out*1.05 out 1.05 1000 1000 print(out) print out out=100000 100000 out out=m.ceil(out*1.05/1000)*1000 m.ceil(out*1.05/1000)*1000 out n=int(input()) int(input()) n
import sys
import math as m
n=int(input())
out=100000
for i in range(n):
	out=m.ceil(out*1.05/1000)*1000
print(out)

#for i in sys.stdin:
#	a,b=map(int,i.split())
#	print(gcd(a,b),lcm(a,b))