#include<iostream>
using namespace std;

int main() {
	int money = 100;
	int n;
	cin >> n;

	while(n--) { money += money % 20 ? money / 20 + 1 : money / 20; }

	cout << money << "000" << endl;
	return 0;
}