#include <iostream>
#include <math.h>
using namespace std;
int main(){
	long double x=100000 , w ;
	int i , n , y ;
	cin >> n;
		for( i=1 ; i<=n ; i++ ){
		x = x * 1.05 ;
		y = x;
		y = y/100 ;
		x =y;
		x = x/10;
		x = ceil( x );
		x = x*1000;
	}
	cout << x << endl;
}