If a chicken egg is an egg laid by a chicken, the chicken came first
If a chicken egg is an egg that hatches into a chicken, the egg came first.
We know that the first case is correct because an unfertilised egg laid by a chicken is called a chicken egg despite by definition not hatching into a chicken.
Therefore the chicken came first