when I run the code with same custom input as that of second case my code works fine but when I submit the same code the second test case fails which works fine when I provide it as custom input.
when I run the code with same custom input as that of second case my code works fine but when I submit the same code the second test case fails which works fine when I provide it as custom input.