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