However two North Poles repel each other and two South Poles repel each other.
(two North Poles; repel; each other) (two South Poles; repel; each other)
two North Poles two South Poles
repel repel
each other
each other