#include <iostream>

using namespace std;

int main()
{
    int n;
    float a = 100000;
    cin >> n;
    for(int i =0; i < n; ++i){
        a = a * 1.05;
        a /= 1000;
        if(a - int(a) > 0)
            a += 1;
        a  = int(a);
        a *= 1000;
    }
    cout << a << endl;
    return 0;
}