#include <iostream>
using namespace std;

int main()
{
	int n;
	while (cin >> n)
	{
		int money = 100000;
		while (n--)
		{
			money *= 1.05;
		}
		if (money % 10000 != 0)
		{
			money -= (money % 10000);
			money += 10000;
		}
		cout << money << endl;
	}

	return 0;
}