import math

def calc_debt(week=0):
    debt = 100000
    for i in range(week):
        debt = int(math.ceil(debt * 1.05 / 1000))*1000
    return debt 

print(calc_debt(int(input()))) import math math def calc_debt(week=0):
    debt = 100000
    for i in range(week):
        debt = int(math.ceil(debt * 1.05 / 1000))*1000
    return debt  calc_debt debt = 100000 debt 100000 for i in range(week):
        debt = int(math.ceil(debt * 1.05 / 1000))*1000
     i range(week) range week debt = int(math.ceil(debt * 1.05 / 1000))*1000 debt int(math.ceil(debt * 1.05 / 1000))*1000 int(math.ceil(debt * 1.05 / 1000)) int math.ceil(debt * 1.05 / 1000) math.ceil math ceil debt * 1.05 / 1000 debt * 1.05 debt 1.05 1000 1000 return debt debt week=0 week 0 print(calc_debt(int(input()))) print calc_debt(int(input())) calc_debt int(input()) int input() input def calc_debt(week=0):
    debt = 100000
    for i in range(week):
        debt = int(math.ceil(debt * 1.05 / 1000))*1000
    return debt  def calc_debt(week=0):
    debt = 100000
    for i in range(week):
        debt = int(math.ceil(debt * 1.05 / 1000))*1000
    return debt  calc_debt
import math

def calc_debt(week=0):
    debt = 100000
    for i in range(week):
        debt = int(math.ceil(debt * 1.05 / 1000))*1000
    return debt 

print(calc_debt(int(input())))