Passed all given test cases