Neither. The hen came into the world while laying the egg. And it was fertile. She sat on it for 21 days, and out came a little baby rooster. She raised him in the garden of Eden's corn field. Together they populated the earth with chickens.
Cant have an egg without a chicken to lay it ...