#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; using ll = long long; using ull = unsigned long long; constexpr int TEN(int n) {return (n==0)?1:10*TEN(n-1);} int main() { array a; for (int i = 0; i < 6; i++) { cin >> a[i]; } sort(a.begin(), a.end()); double x = a[1]+a[2]+a[3]+a[4]; printf("%.2f\n", x/4); return 0; }