What is the greatest common factor of 24 and
40?
A. 4
B. 8
C. 10
D. 12