
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 cunning monkeys divide a pile of bananas. The first monkey takes some bananas from the pile, keeps two-thirds of them, and divides the rest equally between the other two. The second monkey takes some bananas from the pile, keeps one-third of them, and divides the rest equally between the other two. The third monkey takes the remaining bananas from the pile, keeps one-eighth of them, and divides the rest equally between the other two. Given that each monkey receives a whole number of bananas whenever the bananas are divided, and the numbers of bananas the first, second, and third monkeys have at the end of the process are in the ratio $5: 3: 2,$ what is the least possible total for the number of bananas?

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