#include <bits/stdc++.h>
using namespace std;

#define rep(i, n) REP(i, 0, n)
#define ALL(v) v.begin(), v.end()
#define MSG(a) cout << #a << " " << a << endl;
#define REP(i, x, n) for (int i = x; i < n; i++)
#define OP(m) cout << m << endl;
typedef long long ll;
typedef unsigned long long ull;

int main()
{
    int n;
    cin >> n;
    int b = 100000;
    rep(i, n)
    {
        b = b * 1.05;
        if (b % 1000 != 0)
        {
            b = (int)(b / 1000 + 1) * 1000;
        }
    }
    OP(b)
    return 0;
}
