They are equal.
The difference is in the mass of each of those, which makes the cannonball accelerate quickly, but the cannon hardly moves.
The difference is in the mass of each of those, which makes the cannonball accelerate quickly, but the cannon hardly moves.