#include <string>
#include <algorithm>
#include <cfloat>
#include <climits>
#include <cmath>
#include <complex>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <functional>
#include <iostream>
#include <map>
#include <memory>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <utility>
#include <vector>
#include <iomanip>


using namespace std;

typedef unsigned long long ull;
int main(void) {
	ull d = 100000;
	int n;
	cin >> n;
	for(int i = 0; i < n; i++){
		d = d * 105 / 100;
		if(d % 1000 != 0)
			d += 1000 - d % 1000;
	}
	cout << d << endl;
}