import math j, m, b = map(int, input().split(',')) total = j + m + b average = math.floor(total / 3 * 10) / 10 print(f"合計点:{total}平均点:{average:.1f}")