@4everfaded,
The egg came first. It was a genetic mutation of a dinosaur egg (there is a reason that they say that chickens are dinosaur's closest living relatives), which caused the egg to form what is now known as a chicken (of course, this is before evolution took, so these weren't exactly the chickens we know today).
This is if you belive in evolution.