#include<iostream>
using namespace std;

int main(){

	int n;
	int sum = 100000;

	cin>>n;

	for(int i=0;i<n;i++){

		sum *= 105/100.0;

		if(sum%1000>100){
			sum /= 1000;
			sum *= 1000;
			sum += 1000;
		}
	}

	cout<<sum<<endl;
	return 0;
}