import math

loan = 100000

n = int(eval(input()))

for i in range(n):

    loan += math.ceil(loan * 0.05 / 1000) * 1000

print(loan)
import math

loan = 100000

for i in range(int(eval(input()))):

    loan += math.ceil(loan * 0.05 / 1000) * 1000

print(loan)
import math

loan = 100000
n = int(eval(input()))
for i in range(n):
    loan += math.ceil(loan * 0.05 / 1000) * 1000
print(loan)

import math

loan = 100000
for i in range(int(eval(input()))):
    loan += math.ceil(loan * 0.05 / 1000) * 1000
print(loan)

-n = int(eval(input())) -for i in range(n): +for i in range(int(eval(input()))):