#include <stdio.h>
int main () {
    double x;
    double y;
    double z;
    double m;
    scanf("%lf", &x);
    scanf("%lf", &y);
    scanf("%lf", &z);
    m=(x+y+z)/3;
    printf("%.3lf", m);
return 0;
}
