Ivan's submission of Good Median | CodeChef