Solve the inequality
\[\frac{(x - 2)(x - 3)(x - 4)}{(x - 1)(x - 5)(x - 6)} > 0.\]
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Solve the inequality
\[\frac{(x - 2)(x - 3)(x - 4)}{(x - 1)(x - 5)(x - 6)} > 0.\]
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
(-\infty,1) \cup (2,3) \cup (4,5) \cup (6,\infty)
Solve the inequality
\[\frac{(x - 2)(x - 3)(x - 4)}{(x - 1)(x - 5)(x - 6)} > 0.\]
train