#include <iostream>
#include <cmath>
#include <cstdio>
#define DEFAULT 100000
using namespace std;

int main(void) {
    double tax = 0.05 * DEFAULT;
    double start = DEFAULT;
    int num;
    cin >> num;
    for(int r = 0; r <= num; r++) {
        start += tax;
    }
    
    //cout << start << endl;
    start /= 1000;
    //cout << start << endl;
    start = ceil(start);
    start *= 1000;
    
    cout << (int)start << endl;
    
    return(0);
}