We have a triangle $\triangle ABC$ and a point $K$ on $BC$ such that $AK$ is an altitude to $\triangle ABC$. If $AC = 8,$ $BK = 2$, and $CK = 3,$ then what is $AB$?