#include<iostream>

using namespace std;


int main(void){

  int n;
  double money=100000;
  int i;

  cin >> n;

  for(i=0;i<n;i++){

    money*=1.05;
    money/=1000;
    money+=0.999;

    money=(int)money;
    money*=1000; 
    
    
    
  }



  cout << (int)money << endl;




  return 0;
}