#include<iostream>
using namespace std;

int main()
{
	int n;
	cin >> n;
	static int z = 100000;
	for (int i = 0; i < n; i++) {
		int a = z*1.05;
		if (a % 1000 != 0) {
			int b = a / 1000;
			++b;
			a = b * 1000;
		}
	}
	cout << z << endl;
	return 0;
}