//#include <bits/stdc++.h>
#include <iostream>
#include <cstdio>
#include <math.h>
#include<algorithm>
#include <utility>
using namespace std;
int main() {
	double n, add, money = 100000;
	cin >> n;
	for (int i = 0; i < n; i++) {
		add = money*0.05;
		money += add;
	}
	int ans = money;
	if (ans % 10000 != 0) {
		ans /= 10000;
		ans *= 10000;
		ans += 10000;
	}
	cout << ans << endl;
	return 0;
}