Akshat arranged two magnets in a set up and the outcome is shown in the given figure. Select the option that correctly identifies the poles a, b, c and d of the magnets.
-------a------------b--------c--------d
ANorth---South---North---South
BSouth---North---North---South
CNorth---North---South---South
DSouth---North---South---North