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

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