If $x$ is an integer and $x^6-2x^5+2x^3-2x+1=292$, find $x$.
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
If $x$ is an integer and $x^6-2x^5+2x^3-2x+1=292$, find $x$.
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
3
If $x$ is an integer and $x^6-2x^5+2x^3-2x+1=292$, find $x$.
train