Two atoms have the same number of protons but different numbers of neutrons. Which of the following is true?