int main()
{
    float a,b,c,aver,sum;
    scanf("%f %f %f",&a,&b,&c);
    sum=a+b+c;
    aver=sum/3;
    printf("%.2f %.2f",sum,aver);
    return 0;
}