#include <cstdio>
int main()
{
    int n; scanf("%d", &n);
    long long x = 100000;
    for (int i = 0; i < n; ++i) {
        x *= 105;
        int r = x % 100000;
        if (r > 0) { x -= r; x += 100000; }
        x /= 100;
    }
    printf("%lld\n", x);
    return 0;
}