#include<iostream>
#include<cmath>
using namespace std;

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

	return 0;
}