#include <iostream>
using namespace std;

int main(){
    int debt = 100000;
    int week;
    
    cin >> week;
    
    for(int i = 0; i < week; ++i){
        (debt /= 100) *= 105;
        if(debt % 1000 > 0){
            ++ debt;
            debt *= 1000;
        }
    }

    cout << debt << endl;

    return 0;
}
