pass the all test cases.