apparently my solution is posting the correct output, i even compared the output with the output of the sample test and it is correct, why my answer is not accepted?
Question : https://online.codingblocks.com/app/player/93452/content/91367/4825/code-challenge
My solution : https://onlinegdb.com/S1OgLo89L

