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