The atomic number = number of protons. The mass number (23) = sum of number of neutrons and protons. Since you know the mass number is 23 and it has 12 neutrons, 23-12 gives you 11 protons, so its atomic number is 11.
If you want additional help in chemistry or another subject for FREE, check out growthinyouth.org