#include <stdio.h>

int main() {
    long long weeks = 0;
    double money = 100.0d;
    scanf("%d", &weeks);

    for (long long i = 0; i < weeks; ++i) {
        money *= 1.05d;
    }

    long long result = (int) money;
    if (result < money) {
        result += 1;
    }
    result *= 1000;
    printf("%d", result);

    return 0;
}