Nikolay Domashenko's submission of The Smallest Pair | CodeChef