The first shell of an atom takes maximum of 2 electrons and the subsequent shells take maximum of 8 electronsNumber of protons equals number of electrons in a neutral atom.Since there are 17 protons, the atom has 17 electronsFirst shell will have 2 electronsSecond shell will have 8 electronsThird shell will have the remaining 7 electrons