#include<iostream>
#include<string>
#include<algorithm>
using namespace std;
int main(){
    int n; cin >> n;
    if(n % 2 != 0) n += 1;
    int rent =  n * 100000 *0.05;
    cout << 100000 + rent << endl;
    return 0;
}