import math

n = int(input())
d = 100000

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

n = int(input())
d = 100000

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