#include<iostream>

using namespace std;

main(){

  int n;
  double rm=100000;//remaining_money
  int i;
  cin >> n ;
  for(i=0;i<n;i++){
    
    rm *= 1.05;
    //kiriage
    rm /= 1000;
    rm += 0.9;
    rm =(int)rm;
    rm *= 1000;
  }

  cout << (int)rm << endl;
  

  return 0;

}