Let A, M, and C be nonnegative integers such that A + M + C = 12. What is the maximum value of \( A \cdot M \cdot C + A \cdot M + M \cdot C + A \cdot C \)?

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