However, when the two poles facing each other are the same, (i.e. north to north), the magnets repel.
(the two poles; facing; each other) (the two poles facing each other; are; the same) (the magnets; repel; )
the two poles the two poles facing each other the magnets
facing are repel
each other
the same