#include <iostream>

int main(){
	int n;
	std::cin >> n;
	double result=100;
	for(int i=n;i;i--){
		result*=1.05;
		result=(int)(result+0.9);
	}
	
	result*=1000;
	int i=result;
	std::cout << i;

	return 0;
}