Ball A of massg moving on a smooth horizontal table with a velocity ofm/s hits an identical stationary ball B on the table. If the impact is perfectly elastic, the velocity of the ball B just after impact would be