from math import ceil
debt=100000
bigets=1000
interest_rate=1.05

def calc_debt(n):
    d=debt//bigets
    while n>0:
        d=ceil(d*interest_rate)
        n -= 1
    return d*bigets
n=int(input())
print(calc_debt(n)) from math import ceil debt=100000 debt 100000 bigets=1000 bigets 1000 interest_rate=1.05 interest_rate 1.05 def calc_debt(n):
    d=debt//bigets
    while n>0:
        d=ceil(d*interest_rate)
        n -= 1
    return d*bigets calc_debt d=debt//bigets d debt//bigets debt bigets while n>0:
        d=ceil(d*interest_rate)
        n -= 1
     n>0 n 0 d=ceil(d*interest_rate) d ceil(d*interest_rate) ceil d*interest_rate d interest_rate n -= 1 n 1 return d*bigets d*bigets d bigets n n n=int(input()) n int(input()) int input() input print(calc_debt(n)) print calc_debt(n) calc_debt n interest_rate=1.05 1.05 interest_rate bigets=1000 1000 bigets n=int(input()) int(input()) n debt=100000 100000 debt def calc_debt(n):
    d=debt//bigets
    while n>0:
        d=ceil(d*interest_rate)
        n -= 1
    return d*bigets def calc_debt(n):
    d=debt//bigets
    while n>0:
        d=ceil(d*interest_rate)
        n -= 1
    return d*bigets calc_debt
from math import ceil
debt=100000
bigets=1000
interest_rate=1.05

def calc_debt(n):
    d=debt//bigets
    while n>0:
        d=ceil(d*interest_rate)
        n -= 1
    return d*bigets
n=int(input())
print(calc_debt(n))
