#include<iostream>
#include <cstdio>
#include <algorithm>

using namespace std;

int main() {

	int N, i, sum=100000;

	cin >> N;

	for (i = 0; i < N; i++) {
		sum *= 1.05;
	}

	sum = ((sum + 5000) / 10000)*10000;

	cout << sum << endl;

	return 0;

}