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

int main()
{
	int n;
	double debt = 100, risi = 0.05;

	cin >> n;
	for(int i = 0;i < n;i++){
		debt += debt * risi;
		debt = ceil(debt);
	}

	cout << debt * 1000 << endl;

	return 0;
}