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

the way i do it is by test steps and observe and in my opinion its pretty simple
1. I label them (x) and (y)
2. Observe the magnetic force between them and feel how strong it is by hand
3. now i have feeling how strong the magnetic field is, I take (x) and give it 20 or 30 hits on ground, "I will not break it but in theory hitting the magnet or heating it will weak it's magnetic field"
4. after hitting 20 or 30 times, Observe the magnetic force between them, if i feel it got weak then the one i hit (x) is the magnet , if not then (y) is the magnet go to step 5
5. I take (y) and give it 20 or 30 hits on grounds exactly same as i did to (x)
6. Observe the magnetic force

* even if nothing happen after first 6 steps, I can repeat from step 2, until eventually I will have idea which one is which