A week with Ethan
https://petr-mitrichev.blogspot.com/2018/12/a-week-with-ethan.html
Codeforces Educational Round 167 Solution Discussion (with Shayan)