A monotonic week
https://petr-mitrichev.blogspot.com/2020/04/a-monotonic-week.html
AMA: TheOneYouWant
Atcoder ABC #351 Short Solution Discussion