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

int main(){
	int len;
	int debt = 100000;
	cin >> len;
	for(int i = 0; i < len; i++){
		debt += debt * 0.05;
	}
	string s = to_string(debt);
	reverse(s.begin(), s.end());
	if(s[3] != '0'){
		char c = ((s[4] - '0') + 1) + '0';
		s[4] = c;
	}
	s[0] = '0';
	s[1] = '0';
	s[2] = '0';
	s[3] = '0';
	reverse(s.begin(), s.end());
	cout << s << endl;
	return 0;
}

