n=int(input())
s=100000
for i in range(n):
    s=int(s*1.05)
    if s % 1000>0:
        s=s//1000*1000+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)
    if s % 1000>0:
        s=s//1000*1000+1000 i range(n) range n s=int(s*1.05) s int(s*1.05) int s*1.05 s 1.05 if s % 1000>0:
        s=s//1000*1000+1000 s % 1000>0 s % 1000 s 1000 0 s=s//1000*1000+1000 s s//1000*1000+1000 s//1000*1000 s//1000 s 1000 1000 1000 print(s) print s s=int(s*1.05) int(s*1.05) s s=100000 100000 s n=int(input()) int(input()) n s=s//1000*1000+1000 s//1000*1000+1000 s
n=int(input())
s=100000
for i in range(n):
    s=int(s*1.05)
    if s % 1000>0:
        s=s//1000*1000+1000
print(s)
