Two identical balls move at the same speed what momentum do the balls possess

At highest point above h from initial position .
And then ball B come to point A with same velocity v and after that elastic collision between A and B .
B get rest and A move with velocity v by momentum conservation .