CF 1062753 - Стритбольная команда

I can write the full editorial in that format, but I do not have the actual problem statement for Codeforces 1062753 “Стритбольная команда”.

CF 1062753 - \u0421\u0442\u0440\u0438\u0442\u0431\u043e\u043b\u044c\u043d\u0430\u044f \u043a\u043e\u043c\u0430\u043d\u0434\u0430

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

Solution

I can write the full editorial in that format, but I do not have the actual problem statement for Codeforces 1062753 “Стритбольная команда”. The problem ID/title is not enough for me to reliably reconstruct the task, constraints, samples, and required algorithm without risking a fabricated editorial.

Please paste the full statement (including Input, Output, constraints, and samples), and I will produce the complete editorial with all requested sections and a correct Python solution.