#include <iostream>
#include <cmath>
#include <iomanip>

using namespace std;

int main(){
    int weeks;
    double money = 100.0;
    cin >> weeks;

    for(int i = 0; i < weeks; i++) {
        money = ceil(money * 1.05);
    }

    cout << int(money*1000) << endl;

    return 0;
}
