Solution is not complete the output needed is giving error