
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
In a box, there are only purple, orange, and yellow candies. The ratio of purple candies to orange candies to yellow candies is $2:4:5$. If there are 40 yellow candies in the box, how many candies are there in total?

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