
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 frog sitting at the point (2, 3) begins a sequence of jumps within a square bound by the points (0, 0), (0, 5), (5, 5), and (5, 0). Each jump is parallel to one of the coordinate axes, has a length of 1, and the direction of each jump (up, down, right, or left) is independently and randomly determined. Calculate the probability that the frog’s sequence of jumps first ends on a vertical side (either (0, y) or (5, y) for 0 ≤ y ≤ 5).

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