#include <iostream>
using namespace std;
int main()
{
float sirop, vitc, antibiotic, suma;
cin >> sirop;
vitc=2*sirop;
antibiotic=(sirop+vitc)+3;
suma=(sirop+vitc+antibiotic)-((sirop+vitc+antibiotic)/4);
cout << suma;
return 0;
}