Two ends of a bar magnet are found to be attracted and repelled by the north pole of a magnet, as shown in the given figure. Which option correctly represents the polarities of the ends of the bar magnet?
North-South
Unlike poles attract each other and like poles repel each other.