common factor of 12 and 24