#include int main(void) { int j, m, d; long double sum = 0; scanf("%d,%d,%d\n", &j, &m, &d); sum = j + m + d; printf("合計点:%d\n", (int)sum); printf("平均点:%.1Lf\n", sum / 3.0); }