Dear student ,
First thirty elements have their atomic no. 1 to 30 it means they have 1 - 30 no. of protons
Now the mass number from 1-10 have 2 - 20
So the no. of neutrons ( A -Z ) are 1 - 10
Now for Z = 11 , A = 23 and no. of neutrons = 23 -11 =`12
For Z = 15 , A = 31 and no. of neutrons = 31-15 = 16
Regards