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

int main(void){
	int n;
	int debt = 100;
	cin >> n;
	for(int i=0;i<n;i++){
		debt = ceil(debt*1.05);
	}
	cout << debt*1000 << endl;
	return 0;
}