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