#include <iostream>
#include <algorithm>
#include <vector>
#include <functional>
#include <sstream>
#include <stdio.h>
using namespace std;

// Debt Hell(0007)
int main()
{
	int n, ans = 100000;
	cin >> n;
	for (int i = 0; i < n; ++i) {
		int r = ans * 5;
		if (r % 100000 != 0)
			r = (r / 100000 + 1) * 100000;
		r /= 100;
		ans += r;
	}
	cout << ans << endl;
	return 0;
}