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