
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 number written on the board may be multiplied by 8, have 14 added to it, or have 14 subtracted from it. The old number is erased and the new number is written in its place. Initially, there was some digit written on the board. After several operations, the number 777772 appeared on the board. What digit was originally written? If there are multiple answers, list all possible answers separated by commas or semicolons.

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