debt = 100000
for i in range(0, input()):
	debt *= 1.05
	debt /= 1000
	if (debt - int(debt) != 0.0):
		debt += 1
	debt = int(debt) * 1000
print debt debt = 100000 debt 100000 for i in range(0, input()):
	debt *= 1.05
	debt /= 1000
	if (debt - int(debt) != 0.0):
		debt += 1
	debt = int(debt) * 1000 i range(0, input()) range 0 input() input debt *= 1.05 debt 1.05 debt /= 1000 debt 1000 if (debt - int(debt) != 0.0):
		debt += 1
	 debt - int(debt) != 0.0 debt - int(debt) debt int(debt) int debt 0.0 debt += 1 debt 1 debt = int(debt) * 1000 debt int(debt) * 1000 int(debt) int debt 1000 print debt = 100000 100000 debt debt /= 1000 1000 debt debt += 1 1 debt debt = int(debt) * 1000 int(debt) * 1000 debt debt *= 1.05 1.05 debt
debt = 100000
for i in range(0, input()):
	debt *= 1.05
	debt /= 1000
	if (debt - int(debt) != 0.0):
		debt += 1
	debt = int(debt) * 1000
print debt