#include<iostream>
using namespace std;

int main(){
	int n, i, total = 100000;

	cin >> n;
	for(i = 0; i < n; i++){
		total = total * 1.05;
		if(total % 1000 != 0){
			total += 1000 - (total % 1000);
		}
	}
	cout << total << endl;

	return 0;
}