// macros #include #include #include #include #include #include using namespace std; typedef long long ll; typedef pair pii; #define LLINF 1000000000000000000LL #define FOR(i,a,b) for(int i=(int)(a);i<(int)(b);i++) #define debug(a) cout << "L(" << __LINE__ << "):" << #a << ":" << a << endl; // problems limits #define MAX_N 10000 // Variables int S[6]; // problems input void input() { FOR(i,0,6) cin >> S[i]; } // problems main void solve() { sort(S, S+6); int sum=0; FOR(i,1,5) { sum+=S[i]; } cout << fixed << setprecision(2) << (double)sum/4.0 << endl; } int main() { ios::sync_with_stdio(false); input(); solve(); }