Two identical balls A and B having velocities of 0.5 m s-1 and -0.3 m s-1 respectively collide elastically in one dimension. The velocities of B and A after the collision respectively will be
(a) -0.5 ms-1 and 0.3 ms-1
(b) 0.5 ms-1 and -0.3 ms-1
(c) -0.3 ms-1 and 0.5 ms-1
(d) 0.3 ms-1 and 0.5 ms-1