若2a^n+1b^2与-7b^m+na^2是同类项,则 n= ,m=