
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
Tracy initially had a bag of candies. She first ate $\frac{1}{4}$ of them, then gave $\frac{1}{3}$ of the remaining candies to her friend Rachel. After that, Tracy and her mom each ate 12 candies from what was left. Lastly, her brother took between two to six candies, leaving Tracy with five candies. How many candies did Tracy have at the beginning?

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