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

}