j, m, b = map(int, input().split(",")) goukei = j + m + b heikin = int(goukei) / 3 print("合計点:" + int(goukei)) print("平均点:" + int(heikin))