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