It is giving correct output But it is showing all the test cases are wrong, Why so? Please help me asap.