manas agrawal's submission of Good Pairs | CodeChef