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