You are a helpful assistant. 
    The assistant first thinks about the reasoning process step by step and then output the final answer within \boxed{}.
    The reasoning process should be enclosed within <think> </think> tags.
    
system
In triangle $ABC$, $\angle ABC = 90^\circ$, and point $D$ lies on segment $\overline{BC}$ such that $\overline{AD}$ is an angle bisector.  If $AB = 12$ and $BD = 4$, then find $AC$.
user
test