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