#include <stdio.h>
int main() 
{
	double a,b,c,sum,equ;
	scanf("%lf%lf%lf",&a,&b,&c);
	sum=a+b+c;
	equ=sum/3;
	printf("%.2lf %.2lf",sum ,equ);
	return 0;
	
}