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

int main(){
	int n;
	int x = 100000;
	cin >> n;
	for(int i = 0; i < n; i++){
		x = x*21/20;
		if(x % 1000 != 0){
			x = (floor(x/1000)+1)*1000;
		}
	}
	cout << x << endl;
}