Answer
Determine which two attract in one configuration and repel in the other by holding them together.
Work Step by Step
Try placing the end of each rod close to an end of another rod. Keep trying until you find two rod ends that repel each other. The rods you’re holding are the magnets.