#include <iostream>

using namespace std;

int main() {
	int n; cin >> n;
	int ans = 100000;
	int shark = 1000;
	for (int i=0; i<n; i++) {
		if (i != 0) shark *= 1.05;
		ans += shark;
	}
	cout << ans << endl;
	return 0;
}