Find all real numbers $x$ such that \[
x^2 + \left\lfloor \frac x2 \right\rfloor + \left\lfloor \frac x3
\right\rfloor = 10.
\]Enter all the solutions, separated by commas.
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Find all real numbers $x$ such that \[
x^2 + \left\lfloor \frac x2 \right\rfloor + \left\lfloor \frac x3
\right\rfloor = 10.
\]Enter all the solutions, separated by commas.
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
-\sqrt{14}
Find all real numbers $x$ such that \[
x^2 + \left\lfloor \frac x2 \right\rfloor + \left\lfloor \frac x3
\right\rfloor = 10.
\]Enter all the solutions, separated by commas.
train