#include<cmath>
#include<iostream>

using namespace std;

int main(){
  int remaind = 100;  
  int n;
  
  cin >> n;

  for(int i = 0; i < n; i++){
    remaind = (int)ceil(remaind * 1.05);
  }

  cout << remaind * 1000 << endl;
  
  return 0;
}