
#include <iostream>
#include <cstdlib>
#include <cstdio>
#include <cmath>
#include <stack>
#include <cctype>
#include <complex>
#include <vector>
#include <algorithm>

using namespace std;


bool solve(){
	
	long a = 100000;
	int n;
	cin>> n;
	for(int i=0;i<n;i++){
		a = a*1.05;
		if(a%1000){
			a -= a%1000;
			a += 1000;
		}
	}
	cout<< a;
	cout<< endl;
	
	return true;
}

int main(){
	cout.setf(ios::fixed);
	cout.precision(10);
	solve();

	return 0;
}

 