
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
Maria walks down a street where she passes six houses in a row, each painted a different color. In the sequence, she sees the orange house before the red house, and the blue house before the yellow house, just as before. Additionally, the red house is right before the green house. The blue house was not next to the yellow house or the red house. Given these conditions, how many valid sequences of colored houses are possible?

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