The greatest common factor of 3m^2n+12mn^2 is