#include <iostream>
using namespace std;
int main(void){
    double  loan = 100000;
    int week;
    cin >> week;
    for(int i=0;i<week;i++) {
        loan *= 1.05;
    }
    loan /= 10000;
    loan += 0.5;
    int ans = (int)loan * 10000;
    cout << ans << endl;
}