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