
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 signboard has red, yellow, and green flashing lights. The red, yellow, and green lights flash every 3 seconds, 4 seconds, and 8 seconds, respectively. At time 0 seconds, the red, yellow, and green lights flash simultaneously. If at time $Q$ seconds, the third occurrence of only the red and yellow lights flashing together happens, find the value of $Q$.

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