
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
A zoo has five pairs of different animals, each consisting of one male and one female. To maintain harmony, the zookeeper decides to feed them in a way such that each time he feeds a single animal, the next one he feeds must be of the different gender. Additionally, the male lion must be fed first, and the female lion must be fed before the female bear. How many ways can the zookeeper feed all the animals respecting these conditions?

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