#include <iostream>

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

	const int first = 100000;
	int loan;

	for (int i = 0; i < nWeeksLater; i++)
		loan = first + first * 0.05 * nWeeksLater;

	int a = loan / 10000;
	loan = loan % 10000 >= 5000 ? (a + 1) * 10000 : a * 10000;

	std::cout << loan << std::endl;
	system("pause");
}