#include <stdio.h>
int main(){
double a,b,c;
double sum=0.0;
double avg=0.0;
scanf("%lf%lf%lf",&a,&b,&c);
sum=a+b+c;
avg=sum/3.0;
printf("%0.2lf %0.2lf",sum,avg);
return 0;
}
11-04
8457
06-16
4789