#include <iostream>
using namespace std;

unsigned debt(int n) {
	if(n == 0) return 100;
	else if(n == 1) return 105;
	else return (debt(n - 1) * 1.05 + 1);
}

int main(void)
{
	int n;
	unsigned long d;
	cin >> n;
	d = debt(n) * 1000;
	cout << d << endl;
	return 0;
}