A spacecraft flies within 500,000 km of each of these planets. Based on its mass, which planet would gravitationally attract the spacecraft the most?

Estimated Mass of Planet (10^24 kg)

Venus 4.87
Mars 0.642
Jupiter 1,898.0
Neptune 102.0

Based on the given masses of each planet, Jupiter would gravitationally attract the spacecraft the most.