
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
The product of the first three terms of a geometric sequence is 3, the product of the last three terms is 9, and the product of all terms is 729. Determine the number of terms in the sequence.

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