j,m,b = map(int,input().split(',')) jmb_sum = str(j+m+b) jmb_ava = (int(jmb_sum) * 10 // 3 ) / 10 print("合計点" + jmb_sum) print("平均点:" + str(jmb_ava))