若-1/2a^mb³与-3a²b^n是同类项,则m+n=______