Find the greatest common factor of 16xy^2 and 24x^2y