#include<iostream>
#include<cstdio>
#include<algorithm>
using namespace std;
int main(){
	int n,i,money=0;
	double kane=100000,risi;
	cin>>n;
	risi=1;
	for(i=0;i<n;i++){
		risi=risi+0.05;
	}
	kane=kane*risi;
	money=money+kane;
	money=money-money%10000+10000;
	cout<<money<<endl;
	return 0;
}