
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
A fly is crawling on an \( n \times n \) grid from the lower-left node \( A \) to the upper-right node \( B \), moving only to the right or upwards. What is the expected number of turns in the fly's path if, at each node where there is a choice, the fly equally probably chooses the next segment of the path?

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