Substitute a single digit for Z. Substitute any digit for each A. The number for Z must be different from the numbers for A. There are no leading zeros. What are the possible solutions?
Source: Reader Jimmy Chng Gim Hong, though I believe I've seen it elsewhere.