#include <iostream>

int main() {
  int week;
  std::cin >> week;

  int debt = 100000;

  for(int cnt = 0; cnt < week; ++cnt) {
    debt *= 1.05;
  }

  if(debt % 10000 != 0) {
    debt += (10000 - (debt % 10000));
  }

  std::cout << debt << std::endl;
}