#include <iostream>

using namespace std;

int main()
{
	int n;
	cin >> n;

	int ans = 100000;
	while(n--){
		ans*=1.05;
		if(ans%1000)
			ans=(ans/1000+1) * 1000;
	}
	cout << ans << endl;
	return 0;
}

