
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
A rectangular box has lengths, widths, and heights that are positive integers \(m, n, r\) such that \(m \leq n \leq r\). The surface of the box is painted red and then it is cut into unit cubes with a side length of 1. It is known that the difference between the number of unit cubes that are not painted and the number of unit cubes painted on two sides plus the number of unit cubes painted on only one side is 1985. Determine the values of \(m, n, r\).

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