Two bodies A and B of masses 2 kg and 3 kg respectively are moving along the same straight line such that the linear momentum of body A is greater than the linear momentum of body B. The velocity of centre of mass of the system of the two bodies when they are moving in the same direction is 9 times the velocity of centre of mass when they are moving in opposite directions. The ratio of the velocities of the bodies A and B is