Codeforces RAYAN Contest (Div 1 + Div 2) — Solution Discussion (finished)