Quantized energy levels of atoms