import math j,m,b = List(map(int,input().split(","))) print("合計点:{}".format(j+m+b)) mean = math.floor(10*(j+m+b)/3)/10 print("平均点:{}".format(mean))