Related out put

getting wrong answer on the third testcase despite being it right