import math



n=eval(input())

money = 100000

for i in range(n):

    money = math.ceil(money * 1.05/1000)*1000

print("%d" %(money))
import math

m=100

for i in range(eval(input())):m=math.ceil(m*1.05)

print("%d" %(m*1000))
import math

n = eval(input())
money = 100000
for i in range(n):
    money = math.ceil(money * 1.05 / 1000) * 1000
print("%d" % (money))

import math

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

-n = eval(input()) -money = 100000 -for i in range(n): -    money = math.ceil(money * 1.05 / 1000) * 1000 -print("%d" % (money)) +m = 100 +for i in range(eval(input())): +    m = math.ceil(m * 1.05) +print("%d" % (m * 1000))