
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
Xiao Jun is playing a dice game. He starts at the starting square. If he rolls a 1 to 5, he moves forward by the number of spaces shown on the dice. If he rolls a 6 or moves beyond the final square at any time, he must immediately return to the starting square. How many possible ways are there for Xiao Jun to roll the dice three times and exactly reach the ending square?

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