Davis Straupe scored and Kristians Pelss each scored twice as Latvia beat Denmark 5-1 in an IIHF world junior hockey championship pre-tournament game Thursday.
Toms Andersons also scored for Latvia, while Pauls Zvirbulis had two assists.
Mathias Bau Hansen scored on a penalty shot for Denmark.
Kristers Gudlevskis made 28 saves for Latvia.
Dennis Jensen allowed three goals on 20 shots over the first two periods for Denmark. Sebastian Feuk replaced Jensen in the third and allowed two goals on nine shots.
Latvia finished 1-1 in pre-tournament action, while Denmark finished 0-2 after losing 8-0 to Sweden in its opener.
Elsewhere, Russia beat the Czech Republic 5-3.
At Brooks, Alta., Straupe opened the scoring with two straight goals in the second period.
Andersons scored with eight seconds left in the second to make it 3-0 Latvia after two periods.
Pelss, an Edmonton Oilers draft pick who currently plays with the Western Hockey League's Edmonton Oil Kings, scored his first of the game halfway through the third period.
Hansen finally beat Gudlevskis with a penalty shot at 13:49 of the third, but Pelss put the game away with a goal with eight seconds remaining.
Russia 5 Czech Republic 3
At Lethbridge, Alta., Ivan Telegin of the Ontario Hockey League's Barrie Colts scored the winning goal 46 seconds into the third period as Russia beat the Czech Republic despite being outshot 43-21.
Yaroslav Kosov, Nikita Gusev, Grigory Zheldakov and Nail Yakupov of the OHL's Sarnia Stiang also scored for Russia.
Dmitrij Jaskin, Jakub Culek of the Quebec Major Junior Hockey League's Rimouski Oceanic and Tomas Filippi of the QMJHL's Baie-Comeau Drakkar replied for the Czech Republic.
Andrey Makarov of the WHL's Saskatoon Blades made 40 saves for Russia.
Petr Mrazek of the OHL's Ottawa 67's stopped 16 shots for the Czech Republic.