#include <iostream>
#include <cmath>
using namespace std;

int main()
{	
	int n;
	double s = 100000;
		
	cin >> n;
	
	while(n--)
		s = ceil(s * 1.05 * 0.001) * 1000;
	cout << (int)s << endl;
		
	return 0;
}