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