n = int(input())
s = 100000

for i in range(n):
    s = int((s*1.05)/1000+0.9999)*1000

print(s)

 n = int(input()) n int(input()) int input() input s = 100000 s 100000 for i in range(n):
    s = int((s*1.05)/1000+0.9999)*1000 i range(n) range n s = int((s*1.05)/1000+0.9999)*1000 s int((s*1.05)/1000+0.9999)*1000 int((s*1.05)/1000+0.9999) int (s*1.05)/1000+0.9999 (s*1.05)/1000 s*1.05 s 1.05 1000 0.9999 1000 print(s) print s n = int(input()) int(input()) n s = 100000 100000 s s = int((s*1.05)/1000+0.9999)*1000 int((s*1.05)/1000+0.9999)*1000 s
n = int(input())
s = 100000

for i in range(n):
    s = int((s*1.05)/1000+0.9999)*1000

print(s)


