#include <iostream>
#include <cmath>

using namespace std;
int main() {
  int N;
  int money = 100;
  cin >> N;
  for (int i = 0; i < N; i++) {
    money = ceil(money * 1.05);
  }
  cout << money * 1000 << endl;
  return 0;
}