But each magnet also has a south pole that is attracted toward the north pole of the other magnet.
(each magnet; has; a south pole that is attracted toward the north pole of the other magnet) (a south pole; is attracted; toward the north pole of the other magnet)
each magnet a south pole
has is attracted
a south pole that is attracted toward the north pole of the other magnet
toward the north pole of the other magnet