manas agrawal's submission of Median of adjacent maximum numbers | CodeChef