#include<cstdio>
#include<iostream>
#include<cmath>
using namespace std;

int main(){
	int s=100000,n;
	
	cin >> n;
	
	for(int i=0;i<n;i++){
		s*=1.05;
		if(0!=s%1000) s = (s / 1000 + 1) * 1000;
	}
	
	cout << s <<endl;
	
	return 0;
}