num = 100000

n = int(input())
for i in range(n):
    num*=1.05
    
    if num % 1000 >= 1 :
        a = num % 1000
        num = int(num+1000-a)
    else:
        num = int(num)
        
        
print(num)
 num = 100000 num 100000 n = int(input()) n int(input()) int input() input for i in range(n):
    num*=1.05
    
    if num % 1000 >= 1 :
        a = num % 1000
        num = int(num+1000-a)
    else:
        num = int(num)
        
         i range(n) range n num*=1.05 num 1.05 if num % 1000 >= 1 :
        a = num % 1000
        num = int(num+1000-a)
    else:
        num = int(num)
        
         num % 1000 >= 1 num % 1000 num 1000 1 a = num % 1000 a num % 1000 num 1000 num = int(num+1000-a) num int(num+1000-a) int num+1000-a num+1000 num 1000 a num = int(num) num int(num) int num print(num) print num num*=1.05 1.05 num num = int(num) int(num) num a = num % 1000 num % 1000 a num = 100000 100000 num n = int(input()) int(input()) n num = int(num+1000-a) int(num+1000-a) num
num = 100000

n = int(input())
for i in range(n):
    num*=1.05
    
    if num % 1000 >= 1 :
        a = num % 1000
        num = int(num+1000-a)
    else:
        num = int(num)
        
        
print(num)

