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