#include #include #include #include #include #include #include #include #include #include using namespace std; typedef long long ll; int main(){ vector a(6); for(int i = 0;i < 6;i++)cin >> a[i]; sort(a.begin(),a.end()); double res = 0; for(int i = 1;i < 5;i++)res += a[i]; res /= (double)4; cout << fixed << setprecision(2) << (double)res << endl; }