
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
In a new game, I walk on a line. On move 1, I stand still, but on move $n$ where $2 \le n \le 30$, I take two steps forward if $n$ is prime and three steps backward if $n$ is composite. After all 30 moves, I return to my original starting point. How many steps long is my walk back?

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