#include <iostream>

#define rep(i,n)      for(int i=0;i<n;i++)

using namespace std;

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

	int a = 100000;
	rep(i,N)
	{
		a = (105 * a / 100 + 999) / 1000 * 1000;
	}
	cout << a << endl;
	return 0;
}