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