def debt(x):
	nx = x * 105 / 100
	ha = nx % 1000
	nx -= ha
	if ha != 0:
		nx += 1000
	
	return nx

n = int(raw_input())
x = 100000

for i in range(0, n):
	x = debt(x)

print x def debt(x):
	nx = x * 105 / 100
	ha = nx % 1000
	nx -= ha
	if ha != 0:
		nx += 1000
	
	return nx debt nx = x * 105 / 100 nx x * 105 / 100 x * 105 x 105 100 ha = nx % 1000 ha nx % 1000 nx 1000 nx -= ha nx ha if ha != 0:
		nx += 1000
	
	 ha != 0 ha 0 nx += 1000 nx 1000 return nx nx x x n = int(raw_input()) n int(raw_input()) int raw_input() raw_input x = 100000 x 100000 for i in range(0, n):
	x = debt(x) i range(0, n) range 0 n x = debt(x) x debt(x) debt x print x = 100000 100000 x x = debt(x) debt(x) x def debt(x):
	nx = x * 105 / 100
	ha = nx % 1000
	nx -= ha
	if ha != 0:
		nx += 1000
	
	return nx def debt(x):
	nx = x * 105 / 100
	ha = nx % 1000
	nx -= ha
	if ha != 0:
		nx += 1000
	
	return nx debt n = int(raw_input()) int(raw_input()) n
def debt(x):
	nx = x * 105 / 100
	ha = nx % 1000
	nx -= ha
	if ha != 0:
		nx += 1000
	
	return nx

n = int(raw_input())
x = 100000

for i in range(0, n):
	x = debt(x)

print x