Nikolay Domashenko's submission of Permutation And Median | CodeChef