Codeforces Round 974 Solution Discussion (With India Rank 2) (finished)