
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 four positive integers $a$, $b$, $c$, and $d$ with a product of $8!$ and satisfying the system of equations:
\[\begin{array}{rl} ab + a + b & = 524 \\  bc + b + c & = 146 \\  cd + c + d & = 104 \end{array}\]
Calculate $a-d$.

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