When a bar magnet is cut into 2, the two halves repel each other. Why?

What becomes the original north and south poles of that magnet?