qualify for the semifinals