#include<iostream> #include<string> #include<cstring> #include<complex> #include<vector> #include<algorithm> #include<cstdlib> #include<cmath> #include<iomanip> using namespace std; #define REP(i, j) for (int i = 0; i < (int)j; ++i) #define FOR(i, j, k) for (int i = (int)j; i < (int)k; ++i) #define SORT(v) sort(v.begin(), v.end()) #define REVERSE(v) reverse(v.begin(), v.end()) typedef complex<double> P; typedef vector<int> VI; typedef long long LL; typedef pair<int,int> PII; int main() { cin.tie(0); ios::sync_with_stdio(false); VI ss; REP(i,6) { int s; cin >> s; ss.push_back(s); } SORT(ss); int sum = 0; FOR(i,1,5) { sum += ss[i]; } cout << fixed; cout << setprecision(2) << (sum/4.0) << endl; return 0; }