The atomic number of helium is 2 and its electronic configuration is 2.
The atomic number of neon is 10 and its electronic configuration is 2, 8.
Both helium (He) and neon (Ne) have filled outermost shells. Helium has a duplet in its K shell, while neon has an octet in its L shell. Hence, helium and neon are unreactive gases.