#include<iostream>
//#define DEBT 100000

using namespace std;

main(){
int inNum,i;
int debt = 100000;

cin>>inNum;
for(i = 0; i < inNum; i++){
debt*=1.05;
}
debt/=10000;
debt+=1;
debt*=10000;
cout<<debt<<endl;
}