If (x+a)(x+8)=x^2+bx+24 for all values of x, then a+b equals
Answer Choices A. 32 B. 144 C. 40 D. 14 E. 16