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