#include<iostream>

using namespace std;

int main()
{
	int n;
	cin >> n;

	int money = 100000;
	int total = money;
	for(int i = 0; i < n; i++)
	{
		total += money * 0.05;
		money += money * 0.05;
		total = total - total % 10000;
	}
	cout << total << endl; 

	return 0;
}