An element has 12 electrons and its mass number is 24.Calculate the number of protons,neutrons and nucleons in it.