All magnets have two or more poles, each of which is either a north pole or a south pole.
(All magnets; have; two or more poles, each of which is either a north pole or a south pole) (two or more poles; is; either a north pole or a south pole)
All magnets two or more poles
have is
two or more poles, each of which is either a north pole or a south pole
either a north pole or a south pole