#include<iostream>
using namespace std;

int main(){

	int n;
	
	while(cin>>n){

		int sum = 100000;


		for(int i=0;i<n;i++){

			sum *= 105/100.0;

			if((int)sum%1000>=1){
				sum /= 1000;
				sum *= 1000;
				sum += 1000;
			}
		}
		printf("%d\n",(int)sum);
	}
	return 0;
}