#include <stdio.h>
int main()
{
double a = 0;
double b = 0;
double c = 0;
double x = 0;
double y = 0;
scanf("%lf %lf %lf", &a, &b, &c);
x = a + b + c;
y = x / 3.0;
printf("%.2lf %.2lf\n", x, y);
return 0;
}
#include <stdio.h>
int main()
{
double a = 0;
double b = 0;
double c = 0;
double x = 0;
double y = 0;
scanf("%lf %lf %lf", &a, &b, &c);
x = a + b + c;
y = x / 3.0;
printf("%.2lf %.2lf\n", x, y);
return 0;
}