Planet A has a gravitational field strength of 8.0 N/kg near its surface.

Planet B has three times the mass of Planet A and is half of its size.

What would be the gravitational field strength of planet B near its surface?