#include using namespace std; typedef long long ll; templatebool chmax(T &a, const T &b) { if (abool chmin(T &a, const T &b) { if (b> n; cout << fixed << setprecision(10) << 7*n/2 << endl; }