If an element gains three electrons to achieve a full outer shell, we should consider the element's current number of valence electrons.
Nitrogen (N) has 5 electrons in its outer shell. If it gains 3 electrons, it will have 8 electrons in total, achieving a full outer shell (which is the configuration of a noble gas). Therefore, the correct response is:
nitrogen