A. Chaitanya Kumar's submission of The Smallest Pair | CodeChef