#include<stdio.h>
int main(){
    float a,b,c;
    scanf("%f %f %f",&a,&b,&c);
    float sum=a+b+c;
    float av=sum/3.0;
    printf("%.2f %.2f",sum,av);
    return 0;
}