#include <bits/stdc++.h>
using namespace std;

int main() {
	ios_base::sync_with_stdio( false );

	int n;
	cin >> n;

	int a = 100000;

	for( int i = 0; i < n; ++i ) {
		a += (a * 5 / 100 + 999) / 1000 * 1000;
	}

	cout << a << endl;
}

