j, m, b = map(int, input().split(',')) T = j + m + b A = T / 3 A_truncated = int(A * 10) / 10 print(f"合計点:{T}平均点:{A_truncated:.1f}")