#include<iostream>
#include<cmath>
using namespace std;

int main() {
        double n, debt=10, loan;
        cin>>n;
        for(int i=0; i<n; i++) {
                loan = debt*5/100;
                debt += loan;
        }
        cout << ceil(debt)*10000 << endl;
        return 0;
}