Let $p$ be an integer, and let the roots of
\[f(x) = x^4 - 6x^3 + 26x^2 + px + 65\]be $a_k + ib_k$ for $k = 1,$ $2,$ $3,$ $4.$  Given that the $a_k,$ $b_k$ are all integers, and that none of the roots are real, find $p.$
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
Let $p$ be an integer, and let the roots of
\[f(x) = x^4 - 6x^3 + 26x^2 + px + 65\]be $a_k + ib_k$ for $k = 1,$ $2,$ $3,$ $4.$  Given that the $a_k,$ $b_k$ are all integers, and that none of the roots are real, find $p.$
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
-46
Let $p$ be an integer, and let the roots of
\[f(x) = x^4 - 6x^3 + 26x^2 + px + 65\]be $a_k + ib_k$ for $k = 1,$ $2,$ $3,$ $4.$  Given that the $a_k,$ $b_k$ are all integers, and that none of the roots are real, find $p.$
train