#include <bits/stdc++.h>
using namespace std;
typedef long long LL;
#define REP(i,N) for(int i = 0; i < (int)N; i++)


int main(){
	int n;
	cin >> n;
	double money = 100000;
	REP(i,n){
		money += money*5/100;
		money = ceil(money/pow(10,3))*pow(10,3);
	}
	cout << money << endl;
	return 0;
}