Assume that a ring $R$ has IBN; that is, if $R^{m} \cong R^{n}$ as left $R$ modules, then $m=n$. Prove that if $R^{m} \cong R^{n}$ as right $R$-modules, then $m=n$.
Hint. If $R^{m} \cong R^{n}$ as right $R$-modules, apply $\operatorname{Hom}_{R}(\square, R)$, using Proposition 2.54(iii).