#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--)
#define risi (0.05)

using namespace std;


int main(void)
{
    unsigned int week;
    int i;
    double money = 100;
    
    
    cin >> week;
    for(i = 1; i<= week; i++)
    {
        money += money*risi;
        money  = (int)(money+(0.99999999));
    }
    
    cout << money*1000 << endl;
}