The electronic configuration is as given below.
(a) Sulphur (Z = 16) :
it belongs to group 16 (VIA) and third period. Its electronic configuration is
1s22s22p63s23p4
(b) Krypton (Z = 36) :
It belongs to group 18 (zero group) and fourth period. It is a noble gas. Its electronic configuration is 1s22s22p63s23p63d104s24p6