I am not able to understand why I am getting the wrong answer on test case 9. Are there any edge cases I am missing. Ik I can see the editorial but this contest doesn't have one(Don't know why). Here is the link: https://codeforces.net/contest/747/submission/86296933