The atomic number of sodium and chlorine is: 11 and 17.
The distribution of electrons in sodium and chlorine atoms is as follows: -
Sodium- K shell: 2 electrons
L shell: 8 electrons
M shell:1 electron
Chlorine- K shell: 2 electrons
L shell: 8 electrons
M shell: 7 electrons