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