Use the periodic-table blocks. The d-block covers Z = 21-30, 39-48, 57 with 72-80, and 89 with 104-112.
Set (1): 32 and 53 lie in the p-block, so rejected.
Set (2): 9, 17 and 34 are p-block and 38 is s-block, so rejected.
Set (3): 37 (Rb) is s-block and 50 (Sn) is p-block, so rejected.
Set (4): 21 and 25 lie in 21-30, 42 lies in 39-48 and 72 lies in 72-80, so every member is a d-block (transition) element.
Answer: (4) 21, 25, 42, 72