Wednesday 22 June 2016 13:42, UK
As we head into the final match day in the Euro 2016 group stages, we run through what each side needs to qualify for the last 16.
Remember, the top two from each group go through to the last 16, while the four best third-place sides will make up the line-up for the first knockout stage, with the permutations as follows:
In the event that two or more teams finish level on points within a group, the tie-breakers are as follows:
In deciding the best third-place teams, the tie-breakers are:
So, how do things stand at present?
Group A - France and Switzerland qualified, Albania remain in third place
Group B - Wales and England qualified, Slovakia qualify in third place
Group C - Germany and Poland qualified, Northern Ireland qualify in third place
Group D - Croatia and Spain qualified, Turkey remain in third place
Group E
Wednesday 8pm: Italy v Republic of Ireland, Sweden v Belgium
Italy - have qualified for the last 16 and are group winners having already beaten Belgium, who are the only side that can match their points.
Belgium - will finish second if they draw against Sweden on Wednesday. They will finish third on three points if they lose, and could even finish fourth if they lose and Ireland beat Italy.
Sweden - will secure third place with a win, and if both Sweden and Ireland win, the two sides will be split by goal difference, then goals scored, then fair play and then the drawing of lots. Sweden are eliminated if they don't win the game.
Ireland - must win to have any chance of making the last 16. They will finish second if they win and Sweden win, but only if they are superior to Sweden on goal difference, then goals scored, then fair play, then the drawing of lots.
Group F
Wednesday 5pm: Iceland v Austria, Hungary v Portugal
Hungary - are guaranteed at least a third-place finish and qualification to the last 16 with their current four points. Hungary will finish top of Group F with a win over Portugal, or even with a draw if Iceland fail to beat Austria. They will finish second if they lose against Portugal and Iceland fail to win, and will finish third if they lose and Iceland win.
Iceland - will qualify as group winners if they beat Austria and Hungary lose against Portugal. If Iceland win and Hungary draw, Iceland would qualify in second place, and even in first place if they can overturn the goal difference on Hungary (Hungary currently +2; Iceland 0). If Iceland lose and Portugal win, they will finish fourth, but they could sneak into the last 16 with three points in third place even if they can only draw with Austria and Portugal see off Hungary.
Portugal - need a win against Hungary on Wednesday to be certain of progression, and that will be as group winners if Iceland fail to beat Austria. If they win and Iceland win, Portugal must better Iceland's scoreline for goal difference superiority to finish top. With Portugal and Iceland currently level on points and with the same goal difference, separating the two for a possible second- or third-place finish would come down to goals scored (currently Portugal 1, Iceland 2), then fair play and then lots drawn.
Austria - can only finish in the top two if they beat Iceland and Portugal do not beat Hungary. If Portugal win, Austria cannot reach second place, but a win for them against Iceland would give them on four points in third, putting them in a strong position to qualify as one of the four best third-place sides.