#include <iostream>
#include <cmath>

using namespace std;

int main() {
    int n;
    double debt = 100000;

    cin >> n;

    for(int i = 0;i < n;i++){
        debt *= 1.05;
    }

    debt /=10000;
    debt = round(debt);

    cout << int (debt * 10000) << endl; 

    return 0;
}