$P(x)$ is a polynomial such that when $P(x)$ is divided by $x-13$ the remainder is $19$, and when $P(x)$ is divided by $x+17$ the remainder is $-11$. What is the remainder when $P(x)$ is divided by $(x-13)(x+17)$?
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
$P(x)$ is a polynomial such that when $P(x)$ is divided by $x-13$ the remainder is $19$, and when $P(x)$ is divided by $x+17$ the remainder is $-11$. What is the remainder when $P(x)$ is divided by $(x-13)(x+17)$?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
x+6
$P(x)$ is a polynomial such that when $P(x)$ is divided by $x-13$ the remainder is $19$, and when $P(x)$ is divided by $x+17$ the remainder is $-11$. What is the remainder when $P(x)$ is divided by $(x-13)(x+17)$?
train