#include <stdio.h> int main() { int x, y, z; scanf("%d %d %d", &x, &y, &z); int sum = x + y + z; float average = (float)sum / 3; printf("%d\n%.2f", sum, average); return 0; }