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

int main(){
    int a;
    cin >> a;
    int b = 100;
    for (int i=0;i<a;i++){
        b = (int)ceil(b*1.05);
    }
    cout << b*1000 << endl;
//    cout << int(1.999) << int(2.000) << endl;
    return 0;
}

