#include<iostream>
using namespace std;
int main(void){
     int first=100000;
     int n;
     cin >> n;
     for(int i=0;i<n;i++){
	  first = first*1.05;
	  if(first%1000!=0){
	       first = (first/1000+1)*1000;
	  }
     }
     cout << first << endl;
     
     return 0;
}