Disclaimer: this is a topic heavily discussed by scientists, students, and teachers alike. The following text is just my thoughts on the topic.
I believe that the chicken came first, then hatched the egg. If you didn't know, chickens have evolved from dinosaurs. This backs my opinion up. The chicken had evolved from the dinosaur, then laid the egg. The egg then hatched and the process continues.
Hope this answered your question. :)