#include <cstdio>
#include <cstring>
#include <algorithm>
using namespace std;

int main() {
	int x = 100;
	int n; scanf("%d", &n);
	for(int i = 0; i < n; i++) {
		x = (x*21-1)/20+1;
	}
	printf("%d\n", x*1000);
	return 0;
}