#include<iostream>

using namespace std;

int main()
{
	int n;
	int a;
	
	cin >> n;
	for(int i = 0; i < n; i++){
		n = n * 1.05;
	}
	n = 100000 + n*1000*5;
	a = n / 10000;
	cout <<  (a+1) * 10000  << endl;
	return 0;
}