include

using namespace std;
int main()
{
double c;
int a,b,d;
cin>>a>>b>>d;
c=(double)(a+b+d)/3;
printf("%.6f",c);
return 0;
}