Atomic number and mass number differ in that atomic number i…