int main()
{
    float a =0.0;
    float b =0.0;
    float c =0.0;
    scanf("%f %f %f",&a,&b,&c);
    float d =a+b+c;
    float e =1.0*d/3;
    printf("%.2f %.2f",d,e);
    return 0;
}