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