#include <iostream>
int main (void)
{
	int w;
	std::cin >> w;
	int m = 100000;
	while(0 < w)
	{
		m *= 1.05;
		if (m % 1000 != 0)
		{
			m -= m % 1000;
			m += 1000;
		}
		w--;
	}
	std::cout << m << std::endl;
}