Two identical masses are released from rest in a smooth

Two identical masses are released from rest in a smooth hemispherical bowl of radius , from the positions shown in the figure . You can ignore friction between the masses and the surface of the bowl. If they stick together when they collide, how high above the bottom of the bowl will the masses go after colliding?