A mean median week
http://petr-mitrichev.blogspot.com/2018/01/a-mean-median-week.html
Atcoder ABC #354 Solution Discussion