#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()
{
	string str = "";

	while (getline(cin, str)){
		int n = 0;
		stringstream ss(str);
		ss >> n;
		int roan = 100000;
	
		for (int i = 0; i < n; ++i){
			roan = (int)(roan*1.05);
		} // end for
		roan += 5000;
		roan = (roan/10000)*10000;
		cout << roan << endl;	
	} // end while

	return 0;
}