#include <iostream>

using namespace std;

int main()
{ 
	double a , b , c, x;
	int y;
	cin >> a >> b >> c;
	x = (a + b + c)/3;
	y = x;
	cout << y;		
	return 0;
}