In a nuclear fission reaction, the nucleus of an atom splits into two or more smaller nuclei, along with the release of energy. This process typically involves heavy elements such as uranium or plutonium, and during fission, new elements (or isotopes) are formed, which means both the atomic number and the mass number change.
Therefore, the correct response is:
Both the atomic number and the mass number must change.