A student uses plotting compasses to investigate the magnetic field around two stationary bar magnets.
The diagram shows the direction of several plotting compasses positioned around the ends of the two magnets, labeled Magnet A and Magnet B.

Identify the magnetic poles at the ends of the magnets facing each other across the gap.