In the addition shown below, M, N, P, and Q are distinct digits. How many different values are possible for Q?
2
4
7
8
9