Codeforces Educational Round 171 - Solution Discussion (finished)