#include <bits/stdc++.h> using namespace std; int main (){ int a,i,n=0; for(i=1;i<=7;i++){ cin>>a; n+=a; } cout<<n/7; return 0; }