a=100000
j=int(input())
for i in range(j):
	a*=1.05
	if a%1000==0:
		pass
	else:
		a=(a+1000)-a%1000
print(int(a)) a=100000 a 100000 j=int(input()) j int(input()) int input() input for i in range(j):
	a*=1.05
	if a%1000==0:
		pass
	else:
		a=(a+1000)-a%1000 i range(j) range j a*=1.05 a 1.05 if a%1000==0:
		pass
	else:
		a=(a+1000)-a%1000 a%1000==0 a%1000 a 1000 0 a=(a+1000)-a%1000 a (a+1000)-a%1000 a+1000 a 1000 a%1000 a 1000 print(int(a)) print int(a) int a a=(a+1000)-a%1000 (a+1000)-a%1000 a a=100000 100000 a j=int(input()) int(input()) j a*=1.05 1.05 a
a=100000
j=int(input())
for i in range(j):
	a*=1.05
	if a%1000==0:
		pass
	else:
		a=(a+1000)-a%1000
print(int(a))