Abhijeet Krishnan's submission of Good Pairs | CodeChef