a, b, c = map(int, input().split(",")) print(f"合計点:{a+b+c}",end="") print(f"平均点:{(a+b+c)/3}")