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