n=int(input())
x=int(100000)
for i in range(1,n+1) :
    x = x*1.05
    if x%1000 == 0 :
        continue
    
    else :
        x = x//1000*1000+1000
        
print("{:.0f}".format(x))
         n=int(input()) n int(input()) int input() input x=int(100000) x int(100000) int 100000 for i in range(1,n+1) :
    x = x*1.05
    if x%1000 == 0 :
        continue
    
    else :
        x = x//1000*1000+1000
         i range(1,n+1) range 1 n+1 n 1 x = x*1.05 x x*1.05 x 1.05 if x%1000 == 0 :
        continue
    
    else :
        x = x//1000*1000+1000
         x%1000 == 0 x%1000 x 1000 0 continue x = x//1000*1000+1000 x x//1000*1000+1000 x//1000*1000 x//1000 x 1000 1000 1000 print("{:.0f}".format(x)) print "{:.0f}".format(x) "{:.0f}".format "{:.0f}" format x x = x*1.05 x*1.05 x x = x//1000*1000+1000 x//1000*1000+1000 x n=int(input()) int(input()) n x=int(100000) int(100000) x
n=int(input())
x=int(100000)
for i in range(1,n+1) :
    x = x*1.05
    if x%1000 == 0 :
        continue
    
    else :
        x = x//1000*1000+1000
        
print("{:.0f}".format(x))
        
