what is the greatest common factor for 10 and 12