Elements A and B with their respective electronic configurations 3d10 4s1 and 4d10 5s1 in their outermost shell