import math a,b,c = map(int,input().split(",")) sum = a+b+c ave = (a+b+c)/3 print("合計点:"+str(sum)) print("平均点:"+str(math.floor(ave * 10) / 10))