In this case, for the given elements, we are able to know that oxygen has 6 valence electrons, chlorine 7, nitrogen 5 and neon 8, therefore neon is not able to react as it already has 8 valence electrons. Besides, the element having the most valence electrons is chlorine and its reaction with hydrogen forms hydrogen chloride as shown below: