import math
n = input()
a = 100000
for val in range(1,n+1):
	a *= 1.05
	A = math.ceil(a/1000) * 1000
	a = A 
print int(a) import math math n = input() n input() input a = 100000 a 100000 for val in range(1,n+1):
	a *= 1.05
	A = math.ceil(a/1000) * 1000
	a = A  val range(1,n+1) range 1 n+1 n 1 a *= 1.05 a 1.05 A = math.ceil(a/1000) * 1000 A math.ceil(a/1000) * 1000 math.ceil(a/1000) math.ceil math ceil a/1000 a 1000 1000 a = A a A print int(a) int a a *= 1.05 1.05 a n = input() input() n A = math.ceil(a/1000) * 1000 math.ceil(a/1000) * 1000 A a = 100000 100000 a a = A A a
import math
n = input()
a = 100000
for val in range(1,n+1):
	a *= 1.05
	A = math.ceil(a/1000) * 1000
	a = A 
print int(a)