def ceil(n):
    if n%1000:
        return (1+n//1000)*1000
    else:
        return n
    
def debt(n):
    if n==0: return 100000
    return int(ceil(debt(n-1)*1.05))

print(debt(int(input())))
 def ceil(n):
    if n%1000:
        return (1+n//1000)*1000
    else:
        return n
     ceil if n%1000:
        return (1+n//1000)*1000
    else:
        return n
     n%1000 n 1000 return (1+n//1000)*1000 (1+n//1000)*1000 1+n//1000 1 n//1000 n 1000 1000 return n n n n def debt(n):
    if n==0: return 100000
    return int(ceil(debt(n-1)*1.05)) debt if n==0: return 100000
     n==0 n 0 return int(ceil(debt(n-1)*1.05)) int(ceil(debt(n-1)*1.05)) int ceil(debt(n-1)*1.05) ceil debt(n-1)*1.05 debt(n-1) debt n-1 n 1 1.05 n n print(debt(int(input()))) print debt(int(input())) debt int(input()) int input() input def ceil(n):
    if n%1000:
        return (1+n//1000)*1000
    else:
        return n
     def ceil(n):
    if n%1000:
        return (1+n//1000)*1000
    else:
        return n
     ceil def debt(n):
    if n==0: return 100000
    return int(ceil(debt(n-1)*1.05)) def debt(n):
    if n==0: return 100000
    return int(ceil(debt(n-1)*1.05)) debt
def ceil(n):
    if n%1000:
        return (1+n//1000)*1000
    else:
        return n
    
def debt(n):
    if n==0: return 100000
    return int(ceil(debt(n-1)*1.05))

print(debt(int(input())))

