#include <iostream>
#include <cmath>
using namespace std;

int main() {
	double a = 100000;
	int N;
	cin >> N;
	for (int i = 0; i < N; i++) {
		a *= 1.05;
		if ((a / pow(10, 3)) != 0) {
			a /= pow(10, 3);
			a = (int)a;
			a *= pow(10, 3);
			if (i == N - 1) {
				break;
			}
			a += pow(10, 3);
		}
	}
	cout << (int)a << endl;
	return 0;
}