#include<iostream>
#include<cmath>

using namespace std;

#define rep(i, n) for (int i = 0; i < int(n); ++i)

int main() {
  long long n, m = 100000;
  cin >> n;
  rep (iii, n) {
    m = ceil((double)m * 1.05 / 1000) * 1000;
  }
  cout << m << endl;
  return 0;
}