#include <iostream>
using namespace std;

#define DEBIT 100000

int main(){
	int debit = DEBIT, y;
	cin >> y;
	for(int i = 0; i < y; i++){
		debit *= 1.05;
		if(debit % 1000 > 0){
			debit = (debit / 1000 + 1) * 1000;
		}
	}
	cout << debit << endl;
	return 0;
}
