Step-by-step explanation:
Since Z is EXPLICITLY determined by the number of protons, massive, positively charged particles, present in the element's nucleus, the proton must be the greatest determinant. Of course, it is the electrons that actually do the chemistry, but Z defines the element.