import math # Read input and split into three integers j, m, b = map(int, input().split(',')) total = j + m + b average = total / 3 # Calculate truncated average to one decimal place truncated_average = math.floor(average * 10) / 10 # Format and print the result print(f"合計点:{total}平均点:{truncated_average:.1f}")