
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
The digits of a four-digit positive integer add up to 17, a prime number. The sum of the two middle digits is eight, and the thousands digit minus the units digit is three. If the integer is divisible by 7, what is the integer?

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