#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>

int main() {
	int a, b = 100000;
	scanf("%d", &a);
	for (int i = 0; i<a; i++) {
		b *= 1.05;
		if (b % 1000 != 0)b = (b/1000+1)*1000;
	}
	printf("%d\n", b);
}