n = int(raw_input())
res = 100000
for i in range(0,n):
    res = res * 1.05
    if res % 1000:
        res += 1000
    res = int(res/1000)*1000
print res n = int(raw_input()) n int(raw_input()) int raw_input() raw_input res = 100000 res 100000 for i in range(0,n):
    res = res * 1.05
    if res % 1000:
        res += 1000
    res = int(res/1000)*1000 i range(0,n) range 0 n res = res * 1.05 res res * 1.05 res 1.05 if res % 1000:
        res += 1000
     res % 1000 res 1000 res += 1000 res 1000 res = int(res/1000)*1000 res int(res/1000)*1000 int(res/1000) int res/1000 res 1000 1000 print res = 100000 100000 res res += 1000 1000 res res = int(res/1000)*1000 int(res/1000)*1000 res n = int(raw_input()) int(raw_input()) n res = res * 1.05 res * 1.05 res
n = int(raw_input())
res = 100000
for i in range(0,n):
    res = res * 1.05
    if res % 1000:
        res += 1000
    res = int(res/1000)*1000
print res