j, m, b = map(int, input().split(',')) T_sum = j + m + b A_ave = T_sum / 3 print("合計点:",T_sum) print("平均点:",A_ave)