#include<iostream>
using namespace std;

#include <math.h>

int main(){

	int n=0;
	double syakkin = 100000.0;

	cin >> n;


	for (int i = 0; i < n; i++){
		syakkin = syakkin * 1.05;
		if (long(syakkin) % 1000 != 0){
			syakkin = syakkin - double(long(syakkin) % 1000) + 1000.0;
		}
		//cout << syakkin << endl;
	}
	
	cout << syakkin << endl;

	return 0;
}