#include <iostream>
#include <cstdio>
#include <vector>
#include <algorithm>
#include <cmath>
#include <utility>

#define ll (long long)
#define REP(i,n) for(int i = 0;i<(int)n;i++)
#define FOR(i,a,b) for(int i = (a);i < (b);i++)
#define RFOR(i,a,b) for(int i = (a);i>(b);i--)


using namespace std;


int main(void)
{
    int n;
    long long money = 100000;
    int keta = 1;
    int judge = 1;
    double temp;
    cin >> n ;
    FOR(i, 1,n+1 )
    {
        money+= 0.05*money;
        temp = money;
        while(judge)
        {
            temp = (int)temp /10;
            if (temp) {
                keta++;
            }else
                judge = 0;
        }
        
        REP(i,3)
        money = money /10;
        money = ceil(money);
        //cout << money << endl;
        REP(i, 3)
        money = money*10;
        keta = 0;
        judge = 1;
    }
    
    
    cout << money << endl;
    return 0;
}