#include <iostream>
using namespace std;

int main() {
  int n;
  cin >> n;
  int ans = 100000;
  for (int i=0;i<n;i++) {
    int a = 0.05*ans;
    if (a%1000)
      a = (a / 1000 +1) * 1000;
    ans += a;
  }
  cout << ans;
}