n = int(raw_input())

debt=100000
for i in range(n):
  debt*=1.05
  if debt % 1000 != 0:
    debt = (int(debt / 1000)+1) * 1000
  else:
    debt = int(debt)
  
print debt n = int(raw_input()) n int(raw_input()) int raw_input() raw_input debt=100000 debt 100000 for i in range(n):
  debt*=1.05
  if debt % 1000 != 0:
    debt = (int(debt / 1000)+1) * 1000
  else:
    debt = int(debt)
   i range(n) range n debt*=1.05 debt 1.05 if debt % 1000 != 0:
    debt = (int(debt / 1000)+1) * 1000
  else:
    debt = int(debt)
   debt % 1000 != 0 debt % 1000 debt 1000 0 debt = (int(debt / 1000)+1) * 1000 debt (int(debt / 1000)+1) * 1000 int(debt / 1000)+1 int(debt / 1000) int debt / 1000 debt 1000 1 1000 debt = int(debt) debt int(debt) int debt print debt = (int(debt / 1000)+1) * 1000 (int(debt / 1000)+1) * 1000 debt debt*=1.05 1.05 debt debt=100000 100000 debt debt = int(debt) int(debt) debt n = int(raw_input()) int(raw_input()) n
n = int(raw_input())

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