
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 there are cows, chickens, and ducks, with the total number of legs being 22 more than twice the number of heads, and the total number of chickens and ducks being two times the number of cows, each cow having 4 legs, each chicken having 2 legs, and each duck having 2 legs, find the number of cows.

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