#include <math.h>
#include <iostream>

int age(int t) {
	return ceil((double) t / 10000) * 10000;
}

int main() {
	int n;
	std::cin >> n;

	int loan = 100000;
	int aaa;
	for (int i = 0; i < n; i++)
		aaa = age(loan + loan * 0.05 * n);

	std::cout << aaa << std::endl;
}