include<stdio.h>

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