Bikash, an aspiring programmer, aims to create an Artificial Intelligence program capable of solving…

Click here to read the complete problem statement.

If you need help solving this problem, mention your approach and ask specific questions. Please avoid sharing your code and asking the Community to figure out “what’s wrong”.

There is a problem in the 5th test case. It was supposed to give exactly 4 integers.
But in the 5th test case, another integer or string was given.

That’s what raises runtime error in my submissions. See this submission: 1341348