al_jabr's submission of Chefina and Beautiful Pairs | CodeChef