j, m, b = map(int, input().split(',')) T = j + m + b A = (T * 100 // 3) / 100.0 print(f"合計点:{T}平均点:{A}")