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

int main(){
	int n;
	long debt=100, tmp; // x1000 yen

	scanf("%d", &n);

	for(; n>0; n--)
		debt=(int)ceil(debt*1.05);
	
	printf("%d000\n", debt);

 return 0;
}