#include <iostream>

using namespace std;

int main() {
	int n;
	cin >> n;

	int debt=100000;

	for (int i = 0; i < n; i++) {
		debt = debt*1.05;
	}


	if (debt % 10000 != 0) {
		cout << (debt / 10000) + 1 << "0000" << endl;
	}
	else {
		cout << debt << endl;
	}

	return 0;
}