Two south poles (or two north poles) will repel each other, while two unlike poles will attract.
(Two south poles (or two north poles; will repel; each other) (two unlike poles; will attract; )
Two south poles (or two north poles two unlike poles
will repel will attract
each other