Polish immigrants Eugeniusz Borek, Zdzislaw Modlinski and Wlodzimierz Konieczny came up with the right numbers in Friday's drawing, the Canadian Broadcasting Corp. reported.
Borek said he dreamed his good fortune was coming.
"Two days before the draw, I had a dream that I was pushing a wheelbarrow full of money with two other guys," he said. "The next day, I had a dream that I was opening up a car wash and a gas station and a couple of other small businesses. When I woke up, I thought, 'The money is coming, I am sure.'"
The men bought a ticket at a gas station, worked through the weekend and found out Monday they had won.
"I couldn't believe it," Borek said. "I was crying, I was so happy."
Borek said he immediately called his coworkers to let them know.
"They didn't believe me either. But then, they checked the photocopies of our tickets and they saw that we won," he said. "We were all so happy."
The three friends say they plan to retire.
Dennis Rodman pledges to end trips to North Korea
Scarlett Johansson steps out with fiance after pregnancy reveal