#include <iostream>
#define DEFAULT 1000000
using namespace std;

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