Three piles of small nails, P, Q and R, are placed on a bench below three electromagnets. One set of nails is made of copper, one of soft iron and one of steel. Diagram 1 shows the situation when the electromagnets are switched on. Diagram 2 shows the situation when the electromagnets are then switched off.
Which row correctly identifies the materials from which the nails are made?