Rosetta Problems

Free Contest 118 - MEDIAN

https://oj.vnoi.info/problem/fc118_median