A = list(map(int, input().split(","))) print("合計点:" + str(sum(A))) print("平均点:" + str(int((sum(A) / len(A)) * 10) / 10))