#include <iostream>
using namespace std;

int main() {
	int n;
	int money = 100000, copy;
	int m = 0;
	int M[1000];

	cin >> n;

	for(int i = 1; i <= n; i++) {
		money += money * 0.05;
	}

	copy = money;

	while(1) {
		copy /= 10;
		m++;
		if(copy == 0) {
			break;
		}
	}

	for(int i = 0; i < m; i++) {
		M[i] = money % 10;
		money /= 10;
	}

	for(int i = 0; i < m; i++) {
		if(i <= 3) {
			M[i] = 0;
		}
		else if(i == 4) {
			M[i] += 1;
			if(M[i] >= 10) {
				M[i + 1] += 1;
				M[i] = 0;
			}
			break;
		}
	}

	money = 0;

	for(int i = 1; i < m; i++) {
		money += M[i] * 10;
	}

	for(int i = m - 1; i >= 0; i--) {
		cout << M[i];
	}
	cout << endl;

}