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