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