//0007
#include <bits/stdc++.h>
using namespace std;
int money = 100000;
void up() {
    int judge = money % 10000;
    if(judge >= 1) {
        money -= judge; money += 10000;
    }
}

int main(void) {
    int n; cin >> n;
    for(int r = 0; r < n; r++) {
        money *= 1.05;
    }
    up();
    cout << money << endl;
    return(0);
}