#include<iostream>

using namespace std;

int main()
{
	int n;
	double debt = 100000;
	double temp = 100000;
	
	cin >> n;
	
	for(int i = 0;i < n; i++){
		debt *= 1.05;
//		cout << i << "TÚ" << debt << endl;
	}
	
	for(int j = 0;; j++){
		temp += 10000;
		if(temp > debt){
			break;
		}
	}
	
	cout << temp << endl;
}