#include <iostream>
#include <sstream>
#include <iomanip>
#include <algorithm>
#include <cmath>
#include <string>
#include <vector>
#include <list>
#include <queue>
#include <stack>
#include <set>
#include <map>
#include <bitset>
#include <numeric>
#include <climits>
#include <cfloat>
using namespace std;

int main()
{
    int n;
    cin >> n;

    int ret = 100000;
    for(int i=0; i<n; ++i){
        (ret /= 100) *= 105;
        if(ret % 1000 > 0){
            ret /= 1000;
            ++ ret;
            ret *= 1000;
        }
    }
    cout << ret << endl;
    return 0;
}