import math
def DebtHell():
    n = int(input())
    debt = 100000
    
    while n>0:
        n-=1
        debt*=1.05
        debt = int(int(math.ceil(debt/1000)*1000))

    print(debt)
    
    
DebtHell() import math math def DebtHell():
    n = int(input())
    debt = 100000
    
    while n>0:
        n-=1
        debt*=1.05
        debt = int(int(math.ceil(debt/1000)*1000))

    print(debt)
    
     DebtHell n = int(input()) n int(input()) int input() input debt = 100000 debt 100000 while n>0:
        n-=1
        debt*=1.05
        debt = int(int(math.ceil(debt/1000)*1000))

     n>0 n 0 n-=1 n 1 debt*=1.05 debt 1.05 debt = int(int(math.ceil(debt/1000)*1000)) debt int(int(math.ceil(debt/1000)*1000)) int int(math.ceil(debt/1000)*1000) int math.ceil(debt/1000)*1000 math.ceil(debt/1000) math.ceil math ceil debt/1000 debt 1000 1000 print(debt) print debt DebtHell() DebtHell def DebtHell():
    n = int(input())
    debt = 100000
    
    while n>0:
        n-=1
        debt*=1.05
        debt = int(int(math.ceil(debt/1000)*1000))

    print(debt)
    
     def DebtHell():
    n = int(input())
    debt = 100000
    
    while n>0:
        n-=1
        debt*=1.05
        debt = int(int(math.ceil(debt/1000)*1000))

    print(debt)
    
     DebtHell
import math
def DebtHell():
    n = int(input())
    debt = 100000
    
    while n>0:
        n-=1
        debt*=1.05
        debt = int(int(math.ceil(debt/1000)*1000))

    print(debt)
    
    
DebtHell()