#include using namespace std; using ll = long long; templatebool chmax(T &a, const T &b) { if (abool chmin(T &a, const T &b) { if (b A(6); FOR(i, 0, 6){ cin >> A.at(i); } sort(ALL(A)); double sum = 0; FOR(i, 1, 5){ sum += A[i]; } double ans = sum/4; printf("%0.2lf\n", ans); return 0; }