On the Valence State Energy of the Carbon and Nitrogen Atoms