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

int main(){
	int n,i;
	double price = 100000;
	scanf("%d",&n);
	for(i=0;i<n;i++){
		price += price * 0.05;
		price /= 1000;
		price = ceil(price);
		price *= 1000;
	}
	printf("%d\n",(int)price);
	return 0;
}