Both Ukraine and North Macedonia conceded late goals in their opening matches at the European Championship, and both lost because of them.

The teams will next play each other at Euro 2020 on Thursday, knowing another loss just might end their chances of advancement.

More Images
Ukraine's Andriy Yarmolenko reacts to the defeat after the Euro 2020 soccer championship group C match between the Netherlands and Ukraine at the Johan Cruijff Arena in Amsterdam, Netherlands, Sunday, June 13, 2021. (AP PhotoPeter Dejong, Pool)

Both Ukraine and North Macedonia conceded late goals in their opening matches at the European Championship, and both lost because of them.

Ukraine's Andriy Yarmolenko reacts after the Euro 2020 soccer championship group C match between the Netherlands and Ukraine at the Johan Cruyff ArenA, Amsterdam, Netherlands, Sunday, June 13, 2021. The Netherlands won 3-2. (John ThysPool via AP)

Ukraine managed to recover from two goals down against the Netherlands in Amsterdam on Sunday, but Denzel Dumfries headed in an 85th-minute winner for the Dutch.

North Macedonia's Goran Pandev, left, and Austria's David Alaba vie for the ball during the Euro 2020 soccer championship group C match between Austria and North Macedonia at the National Arena stadium in Bucharest, Romania, Sunday, June 13, 2021. (Marko DjuricaPool via AP)

North Macedonia, one of the two tournament newcomers at Euro 2020 along with Finland, had been holding Austria to a 1-1 scoreline before substitutes Michael Gregoritsch and Marko Arnautović scored a goal each in the waning minutes at the National Arena in Bucharest on Sunday. That gave Austria its first ever victory at the continental championship.

North Macedonia's manager Igor Angelovski applauds at the end of the Euro 2020 soccer championship group C match between Austria and North Macedonia at the National Arena stadium in Bucharest, Romania, Sunday, June 13, 2021. (Marko DjuricaPool via AP)

Neither Ukraine nor North Macedonia would have been considered favorites in their opening games, but both were in good form ahead of the tournament.

North Macedonia's Goran Pandev reacts during the Euro 2020 soccer championship group C match between Austria and North Macedonia at the National Arena stadium in Bucharest, Romania, Sunday, June 13, 2021. (Marko DjuricaPool via AP)

Meanwhile, both teams need to limit distractions caused by nationalist issues.

The top two teams in each of the six groups advance to the round of 16, along with the four best third-place teams.

Ukraine's Andriy Yarmolenko reacts to the defeat after the Euro 2020 soccer championship group C match between the Netherlands and Ukraine at the Johan Cruijff Arena in Amsterdam, Netherlands, Sunday, June 13, 2021. (AP PhotoPeter Dejong, Pool)

Ukraine's Andriy Yarmolenko reacts to the defeat after the Euro 2020 soccer championship group C match between the Netherlands and Ukraine at the Johan Cruijff Arena in Amsterdam, Netherlands, Sunday, June 13, 2021. (AP PhotoPeter Dejong, Pool)

Ukraine managed to recover from two goals down against the Netherlands in Amsterdam on Sunday, but Denzel Dumfries headed in an 85th-minute winner for the Dutch.

“We come back after 2-0 down and it’s so frustrating to lose a game in the last minutes,” said Ukraine captain Andriy Yarmolenko, who scored one of his team's goals.

“We have two more games to go and we will still play with the same energy,” he said. “If we (advance), then it will be great.”

Ukraine's Andriy Yarmolenko reacts after the Euro 2020 soccer championship group C match between the Netherlands and Ukraine at the Johan Cruyff ArenA, Amsterdam, Netherlands, Sunday, June 13, 2021. The Netherlands won 3-2. (John ThysPool via AP)

Ukraine's Andriy Yarmolenko reacts after the Euro 2020 soccer championship group C match between the Netherlands and Ukraine at the Johan Cruyff ArenA, Amsterdam, Netherlands, Sunday, June 13, 2021. The Netherlands won 3-2. (John ThysPool via AP)

North Macedonia, one of the two tournament newcomers at Euro 2020 along with Finland, had been holding Austria to a 1-1 scoreline before substitutes Michael Gregoritsch and Marko Arnautović scored a goal each in the waning minutes at the National Arena in Bucharest on Sunday. That gave Austria its first ever victory at the continental championship.

North Macedonia captain Goran Pandev, who scored his 38th international goal in the match, said even a loss at a major tournament can help his team grow.

“It was a great experience for us as a first match at this kind of tournament. I think we played an excellent 80 minutes,” Pandev said. “We needed to take advantage of our few counterattacks and we didn’t. In the end, that is football.”

North Macedonia's Goran Pandev, left, and Austria's David Alaba vie for the ball during the Euro 2020 soccer championship group C match between Austria and North Macedonia at the National Arena stadium in Bucharest, Romania, Sunday, June 13, 2021. (Marko DjuricaPool via AP)

North Macedonia's Goran Pandev, left, and Austria's David Alaba vie for the ball during the Euro 2020 soccer championship group C match between Austria and North Macedonia at the National Arena stadium in Bucharest, Romania, Sunday, June 13, 2021. (Marko DjuricaPool via AP)

Neither Ukraine nor North Macedonia would have been considered favorites in their opening games, but both were in good form ahead of the tournament.

Sunday’s loss was the first for Ukraine in seven matches this year, while North Macedonia recorded eight wins and only three losses in its last 15 games — including a shock away win over Germany in World Cup qualifying in March.

Ukraine is appearing in its third European Championship, including co-hosting the event in 2012, but has only won one match and has never progressed out of the group stage.

North Macedonia's manager Igor Angelovski applauds at the end of the Euro 2020 soccer championship group C match between Austria and North Macedonia at the National Arena stadium in Bucharest, Romania, Sunday, June 13, 2021. (Marko DjuricaPool via AP)

North Macedonia's manager Igor Angelovski applauds at the end of the Euro 2020 soccer championship group C match between Austria and North Macedonia at the National Arena stadium in Bucharest, Romania, Sunday, June 13, 2021. (Marko DjuricaPool via AP)

Meanwhile, both teams need to limit distractions caused by nationalist issues.

Ukraine’s yellow-and-blue jerseys for Euro 2020 enraged Russia because they featured an outline of the country's territory showing the Crimean Peninsula, which Russia annexed in 2014.

UEFA has allowed the map to remain — since Russia’s annexation is viewed as illegal under international law — but the slogan “Glory to the heroes” was removed because it was determined to be “clearly political in nature, having historic and militaristic significance.”

North Macedonia's Goran Pandev reacts during the Euro 2020 soccer championship group C match between Austria and North Macedonia at the National Arena stadium in Bucharest, Romania, Sunday, June 13, 2021. (Marko DjuricaPool via AP)

North Macedonia's Goran Pandev reacts during the Euro 2020 soccer championship group C match between Austria and North Macedonia at the National Arena stadium in Bucharest, Romania, Sunday, June 13, 2021. (Marko DjuricaPool via AP)

The Ukrainian soccer federation said that talks with UEFA about the issue continue.

The North Macedonian soccer federation has asked for action to be taken against Marko Arnautović for an incident in Sunday's match, claiming the Austria striker made offensive nationalist comments to a North Macedonia player of Albanian descent.

UEFA has said it will investigate the matter.

More AP soccer: https://apnews.com/hub/soccer and https://twitter.com/AP_Sports