#include "bits/stdc++.h"
using namespace std;

int main() {
	int N;
	double X = 100000;
	cin >> N;
	for (int i = 0; i < N; i++) {
		X *= 1.05;
		if (X != (long long)(X / 1000) * 1000) X = (long long)(X / 1000) * 1000 + 1000;
	}
	printf("%.0lf\n", X);
}
