#include <iostream>
#include <iomanip>
#include <vector>
#include <string>
#include <stack>
#include <queue>
#include <deque>
#include <set>
#include <map>
#include <algorithm>
#include <sstream>
#include <cstdlib>
#include <cstring>
#include <functional>
#include <numeric>
#include <cmath>
#include <climits>
#include <limits>
#include <cfloat>
#include <fstream>
using namespace std;

int main()
{
	int n;
	int roan = 100000;
	
	cin >> n;

	for (int i = 0; i < n; ++i){
		roan = (int)(roan*1.05);
	} // end for
	roan += 5000;
	roan = (roan/10000)*10000;
	cout << roan << endl;	

	return 0;
}