#include <stdio.h> int main() { float n,sum=0; while(scanf("%f",&n) != EOF){ sum += n; } printf("%.2f %.2f",sum,sum/3); return 0; }