#include <iostream> using namespace std; int main(){ int i,x=0,n; for(i=1;i<=7;i++){ cin>>n; x=x+n; } cout<<x/7<<endl; }