A rocket engine acquires motion by ejecting hot gases in the opposite direction. This is an example of the law of

A. conservation of momentum
B. conservating of heat
C. conservation of mass
D. conservation of energy