Answer the question

A student needs to find the mass of an atom. The numbers of which atomic particles determines the mass of the atom?
both its protons and neutrons