
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
The pony wants to cross a bridge where there are two monsters, A and B. Monster A is awake for 2 hours and rests for 1 hour. Monster B is awake for 3 hours and rests for 2 hours. The pony can only cross the bridge when both monsters are resting; otherwise, it will be eaten by the awake monster. When the pony arrives at the bridge, both monsters have just finished their rest periods. How long does the pony need to wait, in hours, to cross the bridge with the least amount of waiting time?

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