#include<iostream>
#include<math.h>
using namespace std;

int main()
{
	double debt = 100000.0;
	int N;

	cin >> N;

	for (; N > 0; N--){
		debt *= 1.05;

		debt /= 1000;
		debt = ceill(debt);
		debt *= 1000;
	}

	cout << debt << endl;

	return 0;
}