Two identical ball A and B having velocities of +0.5m/s and -0.3m/s respectively collide elastically in one dimension. The velocities of B and A after the collision respectively will be