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