#include <iostream>
using namespace std;

int main(){
    int debt = 100000;
    int week;
    
    cin >> week;
    
    for(int i = 0; i < week; ++i){
        debt *= 1.05;
    }

    if(debt % 10000 != 0){
        debt = (debt + 9999) / 10000;
        debt = debt * 10000;   
    }

    cout << debt << endl;

    return 0;
}
