how to get the greatest common factor of 37