Identify and name the metals out of the following elements whose electronic configurations are given below:

Identify and name the metals out of the following elements whose electronic configurations are given below:
(a) 2,8,2 (b) 2,8,1
© 2,8,7 (d) 2,1

(a), (b) and (d) (a) Magnesium
(b) Sodium (d) Lithium