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