
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 pair consisting of a male and a female. The zookeeper aims to feed the animals in a pattern where no two consecutive feedings are of the same gender animal. The starting point is feeding the male lion. Additionally, due to health concerns, once the female giraffe is fed, the male zebra cannot be fed immediately after. How many ways can the zookeeper feed all the animals?

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