a = input()
ret = 100000

while 0<a:
	ret *= 1.05
	if(ret%1000):
		ret = int((ret//1000+1)*1000)
	a -= 1
	
print ret a = input() a input() input ret = 100000 ret 100000 while 0<a:
	ret *= 1.05
	if(ret%1000):
		ret = int((ret//1000+1)*1000)
	a -= 1
	 0<a 0 a ret *= 1.05 ret 1.05 if(ret%1000):
		ret = int((ret//1000+1)*1000)
	 ret%1000 ret 1000 ret = int((ret//1000+1)*1000) ret int((ret//1000+1)*1000) int (ret//1000+1)*1000 ret//1000+1 ret//1000 ret 1000 1 1000 a -= 1 a 1 print ret = 100000 100000 ret a = input() input() a a -= 1 1 a ret *= 1.05 1.05 ret ret = int((ret//1000+1)*1000) int((ret//1000+1)*1000) ret
a = input()
ret = 100000

while 0<a:
	ret *= 1.05
	if(ret%1000):
		ret = int((ret//1000+1)*1000)
	a -= 1
	
print ret