Here is my code discuss the problem?

@namangarg31
the code is correct
when u submit ur code 100% marks are obtained

i guess there is some issue with sample test case
i`ll get it corrected