(m-1)\cdot (n-1)