the first of each group pass to the semifinals