
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
Define a function $B(m, n)$ by \[ B(m,n) = \left\{ \begin{aligned} &n+2& \text{ if } m = 0 \\ &B(m-1, 2) & \text{ if } m > 0 \text{ and } n = 0 \\ &B(m-1, B(m, n-1))&\text{ if } m > 0 \text{ and } n > 0. \end{aligned} \right.\]Compute $B(2, 2).$

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