https://open.kattis.com/contests/n5c3w9