#include<stdio.h>

int main(void){
	int n,i,x=100000,z;
	
	scanf("%d",&n);

	for(i=0;i<n;i++)
	{
		x = x * 1.05;
		
		if(x % 1000 != 0.0)
		{
			z = (x / 1000)+1;
			x = z * 1000;
		}
	}
	printf("%d\n",x);

	return 0;
}