B. Rakhsh's Revival - Rayan Programming Contest 2024 - Selection (Codeforces Round 989, Div. 1 + 2)