#include<iostream>
#include<math.h>
using namespace std;

int main(){
	int n;
	int a = 100000;

	cin >> n;
	for (int i = 0; i < n; i++){
		a *= 1.05;
		if (a % 100 != 0){
			a = (a / 1000 + 1) * 1000;
		}
	}
	cout << a << endl;
}
