Use an addition or subtraction formula to find the exact value of $\cos (-\frac{\pi}{12})=\frac{\sqrt{A}(\sqrt{B}+1)}{4}$.
$A=$ ;
$B=$ .

Your overall score for this problem is