#include <iostream>

using namespace std;

int main() {

	int i=0, n, debt=100000;

	while(1) {
		cin >> n;
		if(n<101)
			break;
	}

	while(i<n) {
		debt*=1.05;
		i++;
	}

	debt=((debt+9999)/10000)*10000;

	cout << debt << endl;

	return 0;

}