#include <iostream>
using namespace std;

int main()
{
	int m = 100000;
	int n;
	cin >> n;

	for(int i=0; i<n; i++)
	{
		m += m / 20;
		if(m % 1000 != 0) m = (m / 1000 + 1) * 1000;	
	}
	printf("%d\n", m);
}