#include <iostream>
#include <string>
#include <algorithm>

using namespace std;

int main(void) {
  int n; cin >> n;
  int now = 100000;
  for (int i = 0; i < n; i++) {
    now *= 1.05;
    if (now % 1000 != 0)
      now = (now / 1000 + 1) * 1000;
  }
  cout << now << endl;
}

