Measurement of the electron affinity of cerium.