All the scenarios for end of World Cup’s first round (Groups A-D)

After Portugal’s last-gasp goal to tie the United States on Sunday evening, there’s only one game left in the first round for each of the 32 teams in the World Cup.

While a handful of teams know they’ll be headed home when the first round comes to a close on Thursday, the vast majority still have a chance of qualifying for the knockout stages. With that in mind, here is what each team in Groups A through D needs to do to get to the next round:

Group B — Monday, noon EST

Netherlands, 6 pts.

Qualification for the knockout round is assured, but a win or tie secures them the top seed.

Chile, 6 pts.

Like the Netherlands, qualification for the next round is safe, but they’ll need to beat the Dutch on Monday if they want to top the group.

Australia, 0 pts.

Eliminated from the tournament with Wednesday’s 3-2 loss to the Netherlands.

Spain, 0 pts.

Eliminated from the tournament with Wednesday’s 2-0 loss to Chile.

Group A — Monday, 4 p.m. EST

Neymar and Brazil likely get the top seed if they beat lowly Cameroon.Reuters

Brazil, 4 pts.

Playing Cameroon, the weakest team in the group, the hosts have the easiest path to the second round. Win or draw, and they’re in. They’ll also grab the top seed if Mexico and Croatia draw, but if Mexico does win, they need to win and hope Mexico doesn’t overcome Brazil’s current goal differential lead (+2 compared to +1) to top the group. They can afford to lose if Mexico also loses, at which point it will come down to goal differential, then goals scored, and then, if the teams are still equal, a draw for lots (essentially a coin toss) will determine who passes to the next round.

Mexico, 4 pts.

Just like Brazil, win or draw and they’re in. A win, along with a win by Brazil, won’t get them the top seed unless they overcome Brazil’s goal differential. If they lose to Croatia, they still have a chance, but will need Brazil to lose to Cameroon by a wider margin.

Croatia, 3 pts.

A win gets them into the knockout stage, but they’ll need Cameroon to beat Brazil if they draw with Mexico. If they win and Brazil loses, they can claim the top seed.

Cameroon, 0 pts.

Eliminated from the tournament with Wednesday’s 4-0 loss to Croatia.

Group D — Tuesday, noon EST

Mario Balotelli’s work isn’t done after the Italians were upset by Costa Rica.Getty Images

Costa Rica, 6 pts.

Have already clinched their spot in the knockout stage and will be the top seed with a tie or win against England. They will also top the group with a loss unless the winner of Italy/Uruguay can overcome Costa Rica’s current goal differential lead (+3 compared to even and -1, respectively).

Italy, 3 pts.

Will clinch a spot in the next round if they defeat or draw Uruguay, and can even claim the top seed if they overcome Costa Rica’s goal difference.

Uruguay, 3 pts.

Need a win against Italy to qualify for the next round. Also can top the group, but like Italy would have to overcome Costa Rica’s goal difference.

England, 0 pts.

Eliminated from the tournament with Thursday’s 2-1 loss to Uruguay.

Group C — Tuesday, 4 p.m. EST

Ivory Coast is one of three teams in Group C battling for a spot in the second round behind Colombia.AP

Colombia, 6 pts.

Have already clinched their spot in the knockout stage and will be the top seed even if they lose to Japan unless Ivory Coast — major long shot here — can overcome a wide goal differential margin (+4 to even).

Ivory Coast, 3 pts.

A win will clinch them qualification in the next round. They can still qualify with a draw against Greece, unless Japan defeats Colombia by two or more goals.

Japan, 1 pt.

Will make it to the next round if they beat Colombia and Ivory Coast loses to Greece — without Greece overcoming their goal difference (-1 to -3). If the two teams end up with the same goal difference and goals scored, there will be a draw for lots to determine who claims the second spot in the next round.

Greece, 1 pt.

Will qualify for the next round if they beat Ivory Coast and Japan doesn’t defeat Colombia. If both Greece and Japan win, Greece needs a blowout victory to overcome the current goal difference (-3 compared to -1).