#include using namespace std; int main(){ int N; cin >> N; cout << fixed << setprecision(9) << 3.5*N << endl; return 0; }