#include <iostream>
using namespace std;

int roundup(int init){
	//roundup 1000
	return (init + 999)/1000*1000;
}

//0007
int main(){
	const int initial = 100000;
	const int ratio_numerator = 105;
	const int ratio_denominator = 100;
	int weeks, term;

	cin >> weeks;

	//term = initial*(ratio**n)
	term = initial;
	for(int i=0; i<weeks; ++i){
		term = term * ratio_numerator / ratio_denominator;
		term = roundup(term);
	}

	cout << term << endl;
	return 0;
}