#include<iostream> using namespace std; int main() { int A, B, C, sum, avg; cin >> A; cin >> B; cin >> C; sum = A + B + C; avg = sum / 3; cout << avg; return 0; }