#include <iostream>
using namespace std;

int main()
{
    double  x, y, z;
    int a;
    cin >> x;
    cin >> y;
    cin >> z;

    a = (x + y + z) / 3;
    cout << a;

    return 0;
}