Can you solve the MAGNET RIDDLE? ft YouTube CEO Susan Wojcicki

Rub the string such that it builds up a static charge and hold it near the bars. The one that pulls on the string (or repels it) the most is the magnetic one. 
Or you could run a stream of water (in your office break room) and see which bar deviates the stream the most.