It was a sweet bet that paid off in mouthfuls for the Canadian Space Agency.

On the line in the Canada-United States men’s hockey wager with NASA was a box of cookies.

Thanks to Canada’s semi-final victory at the Sochi Olympics on Friday, the Americans will eventually ship a box of maple creams to the International Space Station. On Friday, U.S. President Barack Obama lost a case of beer to Prime Minister Stephen Harper when the Canadian women’s hockey team won gold against the Americans.

The U.S. space agency had accepted the challenge by wagering a cookie emblazoned with red, white and blue “Stars and Stripes” icing.

The Canadian Space Agency savoured the 1-0 victory, saying on its Twitter account: “Can’t tweet. Mouth full, crumbs abound!”

With an eye on Sunday’s Olympic gold-medal game against Sweden, the CSA then tweeted: “How to do you say maple cream cookies in Swedish?”

It won’t be the first time the creamy biscuits have been in space.

While on the space station last April, then-Canadian astronaut Chris Hadfield took a picture of a floating maple cookie and then ate it.