#include<bits/stdc++.h>
using namespace std;
int main(){
	double cap = 100000.0;
	int n;
	cin >> n;
	for (int i=0;i<n;i++){
		cap *= 1.05;
		cap /= 1000;
		cap = ceil(cap);
		cap *= 1000;
	}
	cout << int(cap) << endl;
}
