int ch[3], i;
 for(i=0; i<3; i++)
 {
  scanf("%f", &ch[i]);
 }
 printf("%f %f", ch[0]+ch[1]+ch[2], (ch[0]+ch[1]+ch[2])/3);