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

int main(){
	int n = 0;
	int m = 100000;
	
	scanf("%d", &n);
	
	for( ; n != 0; n--){
		m = (int)(m * 0.00105) * 1000;
		m += 1000;
	}
	printf("%d\n", m);
	
	return 0;
}