#include<iostream>
#include<string>
#include<algorithm>
using namespace std;
main(){
	int a=100000,n;
	cin>>n;
	for(int i=1;i<=n;++i){
		a*=1.05;
	}
	a-=100000;
	if(a%10000>0){
		a=(a/10000+1)*10000;
	}
	a+=100000;
	cout<<a<<endl;
}