It was also announced that Portugal will face Germany in the round of 16.
Germany won all five matches in the Tampere group and took first place, while Lithuania finished in second place with one loss.
For the German team in Tampere, Franz Wagner scored 23 points and seven rebounds, Denis Schroeder had 16 points, seven rebounds, nine assists and six fouls, Johannes Thiemans had 12 points and seven rebounds, and Tristan da Silva scored 11 points.
Olivier Nkamuai had 16 points and 11 rebounds for the Finns, while Lauri Markkanen had 11 points and nine rebounds.
In the first group games, Great Britain defeated Montenegro 89:83, and Lithuania defeated Sweden 74:71.
In Group B, Germany won all five games, Lithuania won four, Finland won three, while Sweden, Great Britain, and Montenegro each won one, finishing in that order and qualifying for the round of 16 for Sweden.
In Group A in Riga on Wednesday, Portugal defeated Estonia 68:65 in the battle for the last place in the round of 16, while the Latvian national team defeated the Czech Republic 109:75.
At 9:15 p.m., the last group match began, in which Serbia and Turkey meet in the battle for first place in the group.
The European Championship final tournament will feature 24 teams in four groups in late August and early September in Riga, Tampere, Katowice and Limassol. The top four teams from each group will qualify for the play-off tournament in Riga, with the medal winners to be determined in the first half of September. The round of 16 will feature teams from Groups A and B, as well as Groups C and D.