PRAGUE — Defending champion Canada had to recover from an early scare before rallying to beat Finland 5-3 for its fifth victory in five games at the ice hockey world championship Saturday.

Captain

Canada needed 97 seconds to tie it at 2.

Andrew Mangiapane seized the puck behind the goal before passing it to Cozens to net from the slot. Then Tavares seized the puck in his own half before skating down the left and feeding Tanev to knock in the equalizer from the crease.

The Czechs beat winless Britain 4-1, with Lukas Sedlak having two goals and an assist and captain Roman Cervenka recording four assists.

Sweden killed off a five-minute major before scoring three goals in a 26-second span in the middle period to pull away from Latvia in a 7-2 win that clinched a playoff-round berth.

The Swedes, who have not trailed in the tournament, preserved their perfect record through five games to lead Group B.

Latvia pulled even at 2-2 in the second in Ostrava but failed to capitalize after Rasmus Dahlin received a five-minute major and game misconduct for charging. The defenseman opened the scoring for Sweden in the first period.

Fabian Zetterlund then scored twice in a 17-second span. Nine seconds later, center Joel Eriksson Ek netted to make it 5-2. Marcus Johansson had a goal and two assists.

In Prague, Switzerland routed Denmark 8-0. Winger Kevin Fiala scored two goals and had an assist.

Center Nico Hischier opened the scoring and added two assists to leave the Danes in danger of not advancing.

In Group B, Germany beat winless Poland 4-2 for a fourth win while Slovakia also got a fourth victory by beating France 4-2 to move to third place, a point behind Germany in second.