ARTICLE AD BOX
We're only seven days into Euro 2024, but already the word 'permutations' is flying around.
With Scotland having played twice, the calculators are out as people try to plot a potential route into the last 16.
The top two teams in all six groups qualify automatically, but the four best third-placed teams also make it through.
England will reach the last 16 as Group C winners if they defeat Denmark on Thursday.
Even if England lose or draw against Denmark, they would still reach the knockouts with a win over Slovenia in their final group game on Tuesday.
If Scotland lose their final group match to Hungary, they will finish fourth and be eliminated.
If the match is drawn, Scotland will finish the group in third and could yet qualify - but that would depend on results in other groups.
If Scotland win the game, they will finish either second or third - depending on the result in Switzerland's match with Germany.
As Scotland drew with Switzerland, their positions will be decided on overall goal difference, then overall goals scored, then disciplinary points, then their ranking in European qualifiers.
As it stands, Scotland's goal difference is six worse than Switzerland's, so it would need a significant swing in the final round of games.