
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
If Gray Wolf gives Pleasant Goat and Beautiful Goat 6 carrots each, and the other goats 3 carrots each, there will be 6 carrots left over; if he gives Pleasant Goat and Beautiful Goat 7 carrots each, and the other goats 5 carrots each, there will be a shortage of 14 carrots. How many carrots are there in total?

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