The output is coming correct as expected, but the task is not getting passed. Please let me know the issue is the code and what needs to be corrected