A,B,C = map(int,input().split(",")) sum = A+B+C print(f"合計点:"+sum) print(f"平均点:"+round(sum/3,1))