
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
Balls \( A, B, C, D, E \) are to be put into seven boxes numbered 1 to 7. Each box can contain at most one ball. Furthermore, it is required that the box numbers for balls \( A \) and \( B \) must be consecutive, and that the box numbers for balls \( C \) and \( D \) must also be consecutive. In how many different ways can the balls be put into the boxes?

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