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