We have a triangle $\triangle ABC$ and a point $K$ on $BC$ such that $AK$ is an altitude to $\triangle ABC$. If $AC = 9,$ $BK = \sqrt{5}$, and $CK = 4,$ then what is $AB$?
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
We have a triangle $\triangle ABC$ and a point $K$ on $BC$ such that $AK$ is an altitude to $\triangle ABC$. If $AC = 9,$ $BK = \sqrt{5}$, and $CK = 4,$ then what is $AB$?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
\sqrt{70}
We have a triangle $\triangle ABC$ and a point $K$ on $BC$ such that $AK$ is an altitude to $\triangle ABC$. If $AC = 9,$ $BK = \sqrt{5}$, and $CK = 4,$ then what is $AB$?
train