#include <iostream>
#include <cmath>
using namespace std;

int main(){
	long long int n,i,out;
	long double price = 100000;
	cin >> n;
	for(i=0;i<n;i++){
		price += price * 0.05;
	}
	price = ceil(price/10000);
	out = (int)price*10000;
	cout << out;
	return 0;
}