
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 starts at point $(2, 3)$ on a grid and makes jumps of length $1$ parallel to the coordinate axes. Each jump direction (up, down, right, or left) is chosen randomly. The jumping sequence stops when the frog reaches any point on the boundary of the rectangle defined by vertices $(0,0), (0,5), (5,5),$ and $(5,0)$. Calculate the probability that the sequence of jumps ends at either the top or bottom horizontal side of the rectangle.

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