n = int(input())
d = 100000

for i in range(n):
    d *= 1.05
    if d % 1000:
        d = d - d%1000 + 1000
print(int(d)) n = int(input()) n int(input()) int input() input d = 100000 d 100000 for i in range(n):
    d *= 1.05
    if d % 1000:
        d = d - d%1000 + 1000 i range(n) range n d *= 1.05 d 1.05 if d % 1000:
        d = d - d%1000 + 1000 d % 1000 d 1000 d = d - d%1000 + 1000 d d - d%1000 + 1000 d - d%1000 d d%1000 d 1000 1000 print(int(d)) print int(d) int d d = d - d%1000 + 1000 d - d%1000 + 1000 d d *= 1.05 1.05 d n = int(input()) int(input()) n d = 100000 100000 d
n = int(input())
d = 100000

for i in range(n):
    d *= 1.05
    if d % 1000:
        d = d - d%1000 + 1000
print(int(d))
