
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
Find the number of quadruples \((a, b, c, d)\) of integers with absolute value at most 5 such that
$$
\left(a^{2}+b^{2}+c^{2}+d^{2}\right)^{2}=(a+b+c+d)(a-b+c-d)\left((a-c)^{2}+(b-d)^{2}\right).
$$

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