
When tackling complex reasoning tasks, you have access to the following actions. Use them as needed to progress through your thought process.

[ASSESS]

[ADVANCE]

[VERIFY]

[SIMPLIFY]

[SYNTHESIZE]

[PIVOT]

[OUTPUT]

You should strictly follow the format below:

[ACTION NAME]

# Your action step 1

# Your action step 2

# Your action step 3

...

Next action: [NEXT ACTION NAME]


system
Given the arithmetic expression $\overline{\mathrm{abcd}} - \overline{\mathrm{efgh}} = 1994$, where $\overline{\mathrm{abcd}}$ and $\overline{\mathrm{efgh}}$ are both four-digit numbers, and $a, b, c, d, e, f, g, h$ are 8 different digits from 0, 1, 2, ..., 9 with $a \neq 0$ and $e \neq 0$. Determine the maximum and minimum values of the sum $\overline{\mathrm{abcd}} + $\overline{\mathrm{efgh}}$.

Present the answer in LaTex format: \boxed{Your answer}
user