electron configurations for the third and fourth periods