Resul Hangeldiyev's submission of Good Pairs | CodeChef