#include <stdio.h>

int main()
{
    float s1 = 0;
    float s2 = 0;
    float s3 = 0;
    //输入
    scanf("%f %f %f", &s1, &s2, &s3);
    //计算
    float sum = s1 + s2 + s3;
    float avg = (s1 + s2 + s3) / 3.0;
    //输出
    printf("%.2f %.2f", sum, avg);

    return 0;
}