al_jabr's submission of Good Pairs | CodeChef