passed 2 cases in the problem.