The force will be zero if the wagons are moving at a constant speed (i.e. not accelerating), as there is no frictional force to overcome. If the wagons are accelerating, the force will be proportional to the acceleration, and 20% of the force applied by A.