Find the remainder when $x^3-3x^2-9x+30$ is divided by $x-3$.
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Find the remainder when $x^3-3x^2-9x+30$ is divided by $x-3$.
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
3
Find the remainder when $x^3-3x^2-9x+30$ is divided by $x-3$.
train