CF 105520A - Информатическая сила

The problem statement is missing from your prompt, so I can’t reliably reconstruct the task or produce a correct editorial. Please paste the full statement (input/output description and constraints if available).

CF 105520A - \u0418\u043d\u0444\u043e\u0440\u043c\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0441\u0438\u043b\u0430

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

Solution

The problem statement is missing from your prompt, so I can’t reliably reconstruct the task or produce a correct editorial.

Please paste the full statement (input/output description and constraints if available). Once you send it, I’ll write the complete Codeforces-style editorial in the format you specified.