The answer is: N (nitrogen).
Nitrogen has greatest attraction, because it has greatest electronegativity.
Electronegativity (χ) is a property that describes the tendency of an atom to attract a shared pair of electrons.
Atoms with higher electronegativity attracts more electrons towards it, electrons are closer to that atom.
For example, nitrogen has electronegativity 3 and phosphorus 2.2.