#include <iostream>
#include<math.h>
using namespace std;



int main(void){
	

	double n, sum = 100000;
	cin >> n;

	for (int i = 0; i < n; i++){
	
		sum = sum*1.05;
		sum /= 1000;
		sum=ceil(sum);
		sum *= 1000;

	}
	sum *= 1000;
	cout << int(sum) << endl;


	
	return 0;
}