Hi guys, I'm solving this problem and this is my code/submission. I'm getting WA for the test case 6. The test case is running fine on both my local computer and as well as Codeforces java Compiler but I'm getting WA when I submit the solution. Can someone help me why is this happening.
Test Case:
Thanks in advance