
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
The Shan City Agricultural Science Research Institute planted 5 different types of seeds in 5 adjacent experimental fields. Among them, the seeds of types A and B are required to be planted in two adjacent fields, and neither can be planted in the fields at the ends. Determine the number of different planting methods.

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