import math
n=input()
S=100000

for i in range(n):
	S*=1.05
	S=int( math.ceil(S/1000)*1000 )
print S import math math n=input() n input() input S=100000 S 100000 for i in range(n):
	S*=1.05
	S=int( math.ceil(S/1000)*1000 ) i range(n) range n S*=1.05 S 1.05 S=int( math.ceil(S/1000)*1000 ) S int( math.ceil(S/1000)*1000 ) int math.ceil(S/1000)*1000 math.ceil(S/1000) math.ceil math ceil S/1000 S 1000 1000 print S*=1.05 1.05 S S=int( math.ceil(S/1000)*1000 ) int( math.ceil(S/1000)*1000 ) S S=100000 100000 S n=input() input() n
import math
n=input()
S=100000

for i in range(n):
	S*=1.05
	S=int( math.ceil(S/1000)*1000 )
print S
