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