# -*- coding: utf-8 -*-

import math

PRINCIPAL = 100000
RATE = 0.05
ABOVE = 1000

n = int(raw_input())
debt = PRINCIPAL
for i in range(n):
    debt = int(math.ceil(float(debt)*(1+RATE)/ABOVE))*ABOVE
print debt import math math PRINCIPAL = 100000 PRINCIPAL 100000 RATE = 0.05 RATE 0.05 ABOVE = 1000 ABOVE 1000 n = int(raw_input()) n int(raw_input()) int raw_input() raw_input debt = PRINCIPAL debt PRINCIPAL for i in range(n):
    debt = int(math.ceil(float(debt)*(1+RATE)/ABOVE))*ABOVE i range(n) range n debt = int(math.ceil(float(debt)*(1+RATE)/ABOVE))*ABOVE debt int(math.ceil(float(debt)*(1+RATE)/ABOVE))*ABOVE int(math.ceil(float(debt)*(1+RATE)/ABOVE)) int math.ceil(float(debt)*(1+RATE)/ABOVE) math.ceil math ceil float(debt)*(1+RATE)/ABOVE float(debt)*(1+RATE) float(debt) float debt 1+RATE 1 RATE ABOVE ABOVE print ABOVE = 1000 1000 ABOVE RATE = 0.05 0.05 RATE n = int(raw_input()) int(raw_input()) n debt = int(math.ceil(float(debt)*(1+RATE)/ABOVE))*ABOVE int(math.ceil(float(debt)*(1+RATE)/ABOVE))*ABOVE debt PRINCIPAL = 100000 100000 PRINCIPAL debt = PRINCIPAL PRINCIPAL debt
# -*- coding: utf-8 -*-

import math

PRINCIPAL = 100000
RATE = 0.05
ABOVE = 1000

n = int(raw_input())
debt = PRINCIPAL
for i in range(n):
    debt = int(math.ceil(float(debt)*(1+RATE)/ABOVE))*ABOVE
print debt