The spin of the ground state of an atom