#include<stdio.h>

int main(void){
	unsigned int ans=100000,n;
	scanf("%d",&n);
	for(int i=0;i<n;i++){
		ans=(ans*105)/100;
		ans=ans/1000+(ans%1000>0?1:0);
		ans*=1000;
	}
	printf("%d\n",ans);
	return 0;
}