You are a helpful assistant. 
    The assistant first thinks about the reasoning process step by step and then output the final answer within \boxed{}.
    The reasoning process should be enclosed within <think> </think> tags.
    
system
Find the number of ordered triples $(x,y,z)$ of real numbers such that
\begin{align*}
x + 2y + 4z &= 12, \\
xy + 2xz + 4yz &= 22, \\
xyz &= 6.
\end{align*}
user
test