import math

n = eval(input())
yen = 100000
for i in range(n):
	yen += yen * 0.05
	yen = int(math.ceil(yen / 1000.0) * 1000)
print(yen) import math math n = eval(input()) n eval(input()) eval input() input yen = 100000 yen 100000 for i in range(n):
	yen += yen * 0.05
	yen = int(math.ceil(yen / 1000.0) * 1000) i range(n) range n yen += yen * 0.05 yen yen * 0.05 yen 0.05 yen = int(math.ceil(yen / 1000.0) * 1000) yen int(math.ceil(yen / 1000.0) * 1000) int math.ceil(yen / 1000.0) * 1000 math.ceil(yen / 1000.0) math.ceil math ceil yen / 1000.0 yen 1000.0 1000 print(yen) print yen yen = int(math.ceil(yen / 1000.0) * 1000) int(math.ceil(yen / 1000.0) * 1000) yen yen = 100000 100000 yen n = eval(input()) eval(input()) n yen += yen * 0.05 yen * 0.05 yen
import math

n = eval(input())
yen = 100000
for i in range(n):
	yen += yen * 0.05
	yen = int(math.ceil(yen / 1000.0) * 1000)
print(yen)