\[ \begin{array} {ccccc} \large & & \color{purple}M & \color{red}A & \color{green}R & \color{blue}S\\ \large & & & \color{purple}M & \color{red}A & \color{green}R\\ \large & & & & \color{purple}M & \color{red}A\\ \large + & & & & & \color{purple}M \\ \hline \large & & \color{orange}G & \color{green}R & \color{red}A & \color{purple}M \end{array} \]
If each letter represents a different nonzero digit, what must \(\color{red}A\) be?
Don't forget that when adding 4 digits, you might get a carry digit as large as 3.