#include <cstdio>
#include <cstring>

int main(){
    int x, a;
    while(scanf("%d", &a) != EOF){
        x = 100000;
        for(;a > 0;a--){
            x *= 1.05;
            if(x % 1000)
                x = (x / 1000 + 1) * 1000;
}
        printf("%d\n", x);

    }
    return 0;
}
