What is the answer?

Which equipment will best separate a mixture of iron filings and black pepper?
magnet