Not taking my answer

I have solved this problem, and although the output matches , I have followed the rules, it is still showing wrong answer pls tell me where I am doing wrong