#include<stdio.h>
#include<math.h>


int main()
{
	int debt = 100000;
	int n, i;
	scanf("%d", &n);
	for (i = 0; i < n; i++)
	{
		debt = debt*1.05;
		debt = debt / 1000.0;
		if (debt % 10 >0)debt = debt / 1 + 1;
		debt = debt * 1000;
	}
	printf("%d\n", debt);
	return 0;
}