#include <iostream>
using namespace std;
int main(){
  int n;
  cin >> n;
  long long m = 100000;
  while(n--){
    m *= 1.05;
    m = ((long long)m/1000+(m%1000?1:0))*1000;
  }
  cout << m << endl;
  return 0;
}