#include <bits/stdc++.h>
using namespace std;

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

	int borrowing = 100000 / 1000;

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

	cout << borrowing * 1000 << endl;

	return EXIT_SUCCESS;
}