For most atoms, a stable configuration of electrons is attained when the atom
a) gains electrons in its outermost shell
b) has as many protons as neutrons
c) loses electrons from its innermost shell
d) achieves a complete valence shell