#include <iostream>

using namespace std;

int roundUp(int x, int index);

int main(void)
{
    int i;
    int n;
    double intrst;
    int debt;
    
    cin >> n;
    
    debt = 100000;
    intrst = 0.05;
    for (i = 0; i < n; i++) {
        debt *= 1.0 + intrst;
        debt += 900;
        debt /= 1000;
        debt *= 1000;
    }
    cout << debt << endl;
    
    return 0;
}