Atom A consists of 10 protons, 12 neutrons, and 10 electrons.
Atom B consists of 10 protons, 10 neutrons, and 12 electrons.

The atoms are isotopes of each other.
The atoms are not isotopes of each other.