in the question YALALOVICHIK NUMBERS , i compared many test cases with the successful submission with my submission,all outputs are coming same for all smaller and bigger random numbers which i choose , but it still giving me wrong answer on submission
can any one help me to figure it out where i am getting wrong and why, below is the link of my answer