n = int(input())
debt = 100000

for i in range(n):
	debt = debt * 1.05
	round = debt % 1000
	if round != 0:
		debt = (debt // 1000 + 1) * 1000

print(int(debt)) n = int(input()) n int(input()) int input() input debt = 100000 debt 100000 for i in range(n):
	debt = debt * 1.05
	round = debt % 1000
	if round != 0:
		debt = (debt // 1000 + 1) * 1000 i range(n) range n debt = debt * 1.05 debt debt * 1.05 debt 1.05 round = debt % 1000 round debt % 1000 debt 1000 if round != 0:
		debt = (debt // 1000 + 1) * 1000 round != 0 round 0 debt = (debt // 1000 + 1) * 1000 debt (debt // 1000 + 1) * 1000 debt // 1000 + 1 debt // 1000 debt 1000 1 1000 print(int(debt)) print int(debt) int debt debt = debt * 1.05 debt * 1.05 debt debt = (debt // 1000 + 1) * 1000 (debt // 1000 + 1) * 1000 debt debt = 100000 100000 debt round = debt % 1000 debt % 1000 round n = int(input()) int(input()) n
n = int(input())
debt = 100000

for i in range(n):
	debt = debt * 1.05
	round = debt % 1000
	if round != 0:
		debt = (debt // 1000 + 1) * 1000

print(int(debt))