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