#include<cstdio>
int main(void)
{
	int week,ans=100000;
	scanf("%d",&week);
	for(int f1=0;f1<week;f1++){
		ans+=ans*0.05;
	}
	ans-=ans%10000;
	ans+=10000;
	printf("%d\n",ans);
	//int a;
	//scanf("%d",&a);
	return 0;
}