#include <stdio.h>

int main(void)
{
	int n,m;
	
	m=100000;
	scanf("%d",&n);
	
	while(n>0)
	{
		m=(m*105)/100;
		if(m%1000>0)
		{
			m=((m/1000)+1)*1000;
		}
		n--;
	}
	
	printf("%d\n",m);
	return 0;
}