#include <iostream>

using namespace std;

int main() {
    int n;
    cin >>n;
    double ans = (3.5 * n);
    cout << ans <<endl;
    return 0;
}