Solve
\[-1 < \frac{x^2 - 14x + 11}{x^2 - 2x + 3} < 1.\]
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Solve
\[-1 < \frac{x^2 - 14x + 11}{x^2 - 2x + 3} < 1.\]
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
\left( \frac{2}{3}, 1 \right) \cup (7,\infty)
Solve
\[-1 < \frac{x^2 - 14x + 11}{x^2 - 2x + 3} < 1.\]
train