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