#include<iostream>
#include<string>
#include<vector>
using namespace std;

int main() {
	int n;
	double a=10;
	cin >> n;
	for (int i = 0; i < n; i++) {
		a += a*0.05;
		if (a * 10 != int(a * 10)) {
			a = a * 10 + 1;
			a = int(a);
			a = a / 10;
		}
	}
	cout << a*10000 << endl;
	return 0;
}