Decipher the numerical puzzle system {MA×MA=MIRAM×AM=RIM (different letters correspond to different numbers, and identical letters correspond to the same numbers).