This is a simple question, Let's solve it as follows:
As we can see above, the Ns cancels itself until it rests just one N. Now let's deal with the Ms:
So, as we can see above, the final answer is :
The exponential on m is 3
The exponential on n is 1