Configuration-interaction study of atoms. II. Electron affinities of B, C, N, O, and F | Synapse