#include <iostream>
typedef unsigned long long ULL;
using namespace std;
inline ULL round(ULL t)
{
    return ((ULL)((double)t / 10000 + 0.5))*10000;
}
int main()
{
    int t;
    ULL res = 100000;
    cin >> t;
    while(t--)
    {
        res *= 1.05;
    }
    res = round(res);
    cout << res << endl;
    return 0;
}