#include <stdio.h>

int main(){
	int n,i;
	double money=100000;
	scanf("%d",&n);
	
	for(i=0;i<n;i++){
		money*=1.05;
		if((int)money%1000 != 0){
			money=(double)((int)(money/1000)*1000+1000);
		}
	}
	
	printf("%d\n",(int)money);
	
	return 0;
}