Two bodies A and B having masses in the ratio of 3:1 possess the same kinetic energy. The ratio of linear momentum of B to A is :