Find $t$ such that $x-3$ is a factor of $x^3-3x^2+tx+27$.
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Find $t$ such that $x-3$ is a factor of $x^3-3x^2+tx+27$.
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
-9
Find $t$ such that $x-3$ is a factor of $x^3-3x^2+tx+27$.
train