#include <iostream>
#include <math.h>
using namespace std;
#define interest 1.05

int main()
{
	double thous = 100;
	int debt;
	int n;
	
	cin >> n;
	for (int i = 0; i < n; i++) {
		thous = ceil(thous * interest);
	}
	debt = thous * 1000;
	cout << debt << "\n";
	return 0;
}