cmd2do's submission of The Smallest Pair | CodeChef