MINSK, Belarus (AP) -- Joel Ward scored two power-play goals and had an assist to lift Canada to a 3-2 victory over Norway at the ice hockey world championship on Tuesday, clinching first place in the group.
Ward tied it at 1-1 in the second period before helping to set up Mark Scheifele for 2-2. He netted the winner - his sixth at the tournament - in the third with 9:17 left. Anders Bastiansen and Mads Hansen scored for Norway.
''We felt good about ourselves,'' Ward said. ''We had a lot of chances, a lot of shots. We had some power plays. We just got to capitalize on special teams.''
Canada won Group A ahead of Sweden, and will play Finland, the fourth-place team from Group B in the quarterfinals.
Latvia lost 3-2 to Switzerland in a result that sent both teams home.
Also later Tuesday, the Czech Republic played France to decide who finishes third in Group A. The loser will face Group B winner Russia in the quarterfinals.
United States captain Justin Abdelkader returned from a one-game suspension for a knee-on-knee hit and scored twice in a 5-4 win over Germany in their final group stage game.
''I felt pretty good as the game went on, pretty fresh. I just wanted to hopefully spark my team tonight and it was a big win for us.''
The U.S. was second in Group B, two points ahead of Belarus, which faced Russia late Tuesday.
''We didn't play the way we wanted come on, took too many penalties,'' Abdelkader said after seven U.S. players were sent to the penalty box during the game.
''Hopefully, we can learn from that.''
Johnny Gaudreau scored a power play goal and added three assists, Drew Shore had a sort-handed goal and Matt Donovan also scored for the U.S. on a power play.
''It was a fun game,'' Gaudreau said. ''Thanks to my linemates, Abdelkader and Stapleton, two older guys who just help me get better every single day.''
Germany and Norway didn't make the knockout round.
In a game of the other teams that failed to advance, Slovakia beat Denmark 4-3 on Tuesday.
Italy and Kazakhstan, the bottom teams are relegated from the top division and will be replaced with Austria and Slovenia at next year's worlds in the Czech Republic.