#include <iostream>
using namespase std;

int main () {
    int n, i;
    double a = 100000;
    cin >> n;
    for(i=0;i<n;i++) {
        a *= 1.05;
        while(a%1000!=0) {
            a += 1;
        }
    }
    cout << a << endl;
}