#include <stdio.h>
int main ()
{
    float a=0,b=0,c=0;
    scanf("%f %f %f",&a,&b,&c);
    printf("%0.2f %0.2f",a+b+c,(a+b+c)/3);
    return 0;
}