In the following base-10 equation, each letter represents a unique digit: $AM \cdot PM = ZZZ$. Find the sum of $A + M + P + Z$.

Let's think step by step and output the final answer within \boxed{}.
user