CF 106475A - Лучший хор

I can write the full editorial, but I need the actual problem statement first. Codeforces problem 106475A - “Лучший хор” is not available in the usual Codeforces problem archive under that identifier, and the title alone is not enough to determine the task reliably.

CF 106475A - \u041b\u0443\u0447\u0448\u0438\u0439 \u0445\u043e\u0440

Rating: -
Tags: -
Solve time: 25s
Verified: no

Solution

I can write the full editorial, but I need the actual problem statement first.

Codeforces problem 106475A - “Лучший хор” is not available in the usual Codeforces problem archive under that identifier, and the title alone is not enough to determine the task reliably. If I guessed the algorithm, I would risk producing an incorrect editorial and solution.

Please paste the Problem Statement, Input, and Output sections (or provide the full text of the problem), and I’ll write the complete editorial in the requested format with the explanation, proof, Python solution, walkthroughs, complexity analysis, and tests.