Codeforces CodeTON Round 9 (Div 1 + Div 2) — Solution Discussion