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