Solving failed test case , kindly review.