Mr.Fraser asked four students in his class to find the greatest common factor of 24 and 36. Donte answered 2,Annika answered 3,Noelia answered 6,and Scott answered 12. Which student answered correctly?