CF 105826D - Бенедикт и яблоки

I can write the editorial, but I need the actual problem statement or at least the input/output details for Codeforces 105826D “Бенедикт и яблоки”.

CF 105826D - \u0411\u0435\u043d\u0435\u0434\u0438\u043a\u0442 \u0438 \u044f\u0431\u043b\u043e\u043a\u0438

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

Solution

I can write the editorial, but I need the actual problem statement or at least the input/output details for Codeforces 105826D “Бенедикт и яблоки”. The statement fields in your prompt are empty, and I do not have enough information to reconstruct the algorithm reliably from the title alone.

Please paste the full problem statement (including constraints, input, output, and samples), and I’ll produce the complete editorial in the exact format and style you requested.