The equation : $\ce{NH4Cl + AgNO3 -> NH4NO3 + AgCl}$
I know that oxidation number of $\ce{N}$ in $\ce{NH4Cl}$ is -3 and in $\ce{AgNO3}$ is +5.
But what I am confused about, is the oxidation number of $\ce{N}$ in the product $\ce{NH4NO3}$. Should I consider $\ce{N}$ as $\ce{N2}$ in this compound or should I get its oxidation number in $\ce{NH4+}$ and in $\ce{NO3-}$ and then get the sum of them?