
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
Consider the expressions:
\[ A = 2 \times 3 + 4 \times 5 + 6 \times 7 + \cdots + 38 \times 39 + 40 \]
\[ B = 2 + 3 \times 4 + 5 \times 6 + \cdots + 37 \times 38 + 39 \times 40 \]
Find the positive difference between integers $A$ and $B$.

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