The top two placed teams from each of the four groups advanced to the knockout stage.