
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 the digits 1, 2, 3, 4, and 5, and the condition that the tens and thousands digits are each larger than the digits adjacent to them, calculate the number of 5-digit wave numbers that can be formed.

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