#include<iostream>
#include<cmath>
using namespace std;
int main()
{
    float x, y, z;
    cin >> x >> y >> z;

    float average = (x + y + z) / 3;
    int round = floor(average);

    cout << round << endl;

    return 0;
}