AWTF22 arrival
https://blog.mitrichev.ch/2023/09/awtf22-arrival.html
Codeforces Round 946 Solution Discussion