Find constants A and B such that
(x + 17)/(x^2 - x - 2) = A/(x - 2) + B/(x + 1)
for all x such that $x \neq -1$ and $x \neq 2$. Give your answer as the ordered pair (A,B).