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

int main()
{
	int money = 100000;
	int n;
	cin >> n;
	while (n--)
	{
		money *= 1.05;
	}
	money -= (money % 10000);
	money += 10000;

	cout << money << endl;

	return 0;
}