Educational Codeforces Round 161 Editorial