#include<iostream> using namespace std; int main() { double x,y,z; cin>>x>>y>>z; double q=(x+y+z)/3; cout<<int(q); return 0; }