pass all the 10 test cases