import math

p = 100
for i in range(int(input())):
    p = math.ceil(p * 1.05)
print(p * 1000) import math math p = 100 p 100 for i in range(int(input())):
    p = math.ceil(p * 1.05) i range(int(input())) range int(input()) int input() input p = math.ceil(p * 1.05) p math.ceil(p * 1.05) math.ceil math ceil p * 1.05 p 1.05 print(p * 1000) print p * 1000 p 1000 p = math.ceil(p * 1.05) math.ceil(p * 1.05) p p = 100 100 p
import math

p = 100
for i in range(int(input())):
    p = math.ceil(p * 1.05)
print(p * 1000)