WHY wrong ans comming when my code is right?

I have edited your code now… Try to submit it now…