rishi=0.05
debt= 100000
week = int(raw_input())
kiriage = 1000

def ceil(src, range):
    if int(src * (1 + rishi) % range) == 0:
        return src * (1+rishi)
    else:
        return((int)(src*(1+rishi) / range) + 1) * range

for i in range(0,week):
    debt = ceil(debt, kiriage)
print debt rishi=0.05 rishi 0.05 debt= 100000 debt 100000 week = int(raw_input()) week int(raw_input()) int raw_input() raw_input kiriage = 1000 kiriage 1000 def ceil(src, range):
    if int(src * (1 + rishi) % range) == 0:
        return src * (1+rishi)
    else:
        return((int)(src*(1+rishi) / range) + 1) * range ceil if int(src * (1 + rishi) % range) == 0:
        return src * (1+rishi)
    else:
        return((int)(src*(1+rishi) / range) + 1) * range int(src * (1 + rishi) % range) == 0 int(src * (1 + rishi) % range) int src * (1 + rishi) % range src * (1 + rishi) src 1 + rishi 1 rishi range 0 return src * (1+rishi) src * (1+rishi) src 1+rishi 1 rishi return((int)(src*(1+rishi) / range) + 1) * range ((int)(src*(1+rishi) / range) + 1) * range (int)(src*(1+rishi) / range) + 1 (int)(src*(1+rishi) / range) int src*(1+rishi) / range src*(1+rishi) src 1+rishi 1 rishi range 1 range src src range range for i in range(0,week):
    debt = ceil(debt, kiriage) i range(0,week) range 0 week debt = ceil(debt, kiriage) debt ceil(debt, kiriage) ceil debt kiriage print kiriage = 1000 1000 kiriage week = int(raw_input()) int(raw_input()) week rishi=0.05 0.05 rishi debt = ceil(debt, kiriage) ceil(debt, kiriage) debt debt= 100000 100000 debt def ceil(src, range):
    if int(src * (1 + rishi) % range) == 0:
        return src * (1+rishi)
    else:
        return((int)(src*(1+rishi) / range) + 1) * range def ceil(src, range):
    if int(src * (1 + rishi) % range) == 0:
        return src * (1+rishi)
    else:
        return((int)(src*(1+rishi) / range) + 1) * range ceil
rishi=0.05
debt= 100000
week = int(raw_input())
kiriage = 1000

def ceil(src, range):
    if int(src * (1 + rishi) % range) == 0:
        return src * (1+rishi)
    else:
        return((int)(src*(1+rishi) / range) + 1) * range

for i in range(0,week):
    debt = ceil(debt, kiriage)
print debt