I actually did a report about this my freshman year of college.
Answer: the egg came first.
Why: Evolution. Animals that lay eggs have existed long before chickens. Chickens existing is the result of a mutation from one species of animal (I believe some kind of jungle fowl from over 10,000 years ago) and the domestication from humans.
reply