#include <iostream>
using namespace std;

int main() {
  int n, d = 100000;
  cin >> n;
  for (int i = 0; i < n; i++) {
    d = d * 105 / 100;
    if (d % 1000) {
      d = (d / 1000 + 1) * 1000;
    }
  }
  cout << d << endl;
  return 0;
}
