[ Rebus $]$

Rebus system. Decode the numerical rebus - system

$\left\{\begin{array}{c}M A \cdot M A=M H P \\ A M \cdot A M=P h M\end{array}\right.$

(different letters correspond to different digits, and the same 一 the same).

#
From the first equation, it follows that $\mathrm{M}=1$, and from the second, that A does not exceed 3, so $\mathrm{A}=2$ or $\mathrm{A}=3$. Since $12 \times 12=144$, from the first equation we get И $=\mathrm{P}$ - a contradiction. The case А $=3$ gives the solution: $13 \times 13=169$, $31 \times 31=961$.