def cal(debt,n):
    if n==0: return debt
    for i in range(n):
        debt=debt*1.05
        if debt/1000>int(debt/1000):
            debt=(int(debt/1000)+1)*1000
    return debt

debt=100000
n=int(input())
print(cal(debt,n)) def cal(debt,n):
    if n==0: return debt
    for i in range(n):
        debt=debt*1.05
        if debt/1000>int(debt/1000):
            debt=(int(debt/1000)+1)*1000
    return debt cal if n==0: return debt
     n==0 n 0 for i in range(n):
        debt=debt*1.05
        if debt/1000>int(debt/1000):
            debt=(int(debt/1000)+1)*1000
     i range(n) range n debt=debt*1.05 debt debt*1.05 debt 1.05 if debt/1000>int(debt/1000):
            debt=(int(debt/1000)+1)*1000
     debt/1000>int(debt/1000) debt/1000 debt 1000 int(debt/1000) int debt/1000 debt 1000 debt=(int(debt/1000)+1)*1000 debt (int(debt/1000)+1)*1000 int(debt/1000)+1 int(debt/1000) int debt/1000 debt 1000 1 1000 return debt debt debt debt n n debt=100000 debt 100000 n=int(input()) n int(input()) int input() input print(cal(debt,n)) print cal(debt,n) cal debt n def cal(debt,n):
    if n==0: return debt
    for i in range(n):
        debt=debt*1.05
        if debt/1000>int(debt/1000):
            debt=(int(debt/1000)+1)*1000
    return debt def cal(debt,n):
    if n==0: return debt
    for i in range(n):
        debt=debt*1.05
        if debt/1000>int(debt/1000):
            debt=(int(debt/1000)+1)*1000
    return debt cal debt=100000 100000 debt n=int(input()) int(input()) n
def cal(debt,n):
    if n==0: return debt
    for i in range(n):
        debt=debt*1.05
        if debt/1000>int(debt/1000):
            debt=(int(debt/1000)+1)*1000
    return debt

debt=100000
n=int(input())
print(cal(debt,n))