import math
m=100
for i in range(input()):m=math.ceil(m*1.05)
print "%d" %(m*1000) import math math m=100 m 100 for i in range(input()):m=math.ceil(m*1.05) i range(input()) range input() input print "%d" %(m*1000) "%d" m*1000 m 1000 m=100 100 m
import math
m=100
for i in range(input()):m=math.ceil(m*1.05)
print "%d" %(m*1000)