Teams played a round robin in the preliminary round, with the top three teams advancing to the main round. The teams played against the teams from the other groups. The top four teams advanced to the knockout stage.
