Which came first—the chicken or the egg?

#TeamChickenFirst
#TeamEggFirst
Which came first—the chicken or the egg?