I think the answer should be the last one. Magnets attract magnets with unlike poles and repel magnets with like poles