debt=100000
week=input()

for i in range(week):
  debt=debt*1.05
  if debt%1000!=0:
    debt=int(debt/1000)*1000+1000

print debt debt=100000 debt 100000 week=input() week input() input for i in range(week):
  debt=debt*1.05
  if debt%1000!=0:
    debt=int(debt/1000)*1000+1000 i range(week) range week debt=debt*1.05 debt debt*1.05 debt 1.05 if debt%1000!=0:
    debt=int(debt/1000)*1000+1000 debt%1000!=0 debt%1000 debt 1000 0 debt=int(debt/1000)*1000+1000 debt int(debt/1000)*1000+1000 int(debt/1000)*1000 int(debt/1000) int debt/1000 debt 1000 1000 1000 print week=input() input() week debt=int(debt/1000)*1000+1000 int(debt/1000)*1000+1000 debt debt=100000 100000 debt debt=debt*1.05 debt*1.05 debt
debt=100000
week=input()

for i in range(week):
  debt=debt*1.05
  if debt%1000!=0:
    debt=int(debt/1000)*1000+1000

print debt