
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
Three shepherds met on a large road, each driving their respective herds. Jack says to Jim:

- If I give you 6 pigs for one horse, your herd will have twice as many heads as mine.

And Dan remarks to Jack:

- If I give you 14 sheep for one horse, your herd will have three times as many heads as mine.

Jim, in turn, says to Dan:

- And if I give you 4 cows for one horse, your herd will become 6 times larger than mine.

The deals did not take place, but can you still say how many heads of livestock were in the three herds?

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