// 2011/05/31 Tazoe

#include <iostream>
using namespace std;

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

	int dbt = 100000;
	for(int i=0; i<n; i++){
		dbt = dbt/100*105;
		dbt = (dbt+999)/1000*1000;
	}

	cout << dbt << endl;

	return 0;
}