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