In figure 1, starting from the left, what magnetic poles are shown on the two bar magnets?

North, south, north, south
South, south, north, north
South, north, south, north
North, north, south, south