#include <iostream>
#include <string>
#include <algorithm>
using namespace std;

int main()
{
    int n=0;
    int o=100000;
    
    cin >> n;
    
    for (int i=0; n != i; i++) {
        o = o*1.05;
        o = (o+999)/1000;
        o *= 1000;
    }
    
    cout << o << endl;
}