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