#include <iostream>
#include <vector>
#include <cstdio>
#include <algorithm>
using namespace std;

int main(){
	int n;
	cin >> n;
	int s = 100000;
	for(int i = 0 ; i < n ; i++)
		s = (s*105/100+999)/1000*1000;
	cout << s << endl;
}