A curved surface is shown in figure. The portion BCD is frictionless. There are two spherical balls of identical radii and masses. Balls are released from rest one by one from A which is at a slightly greater height than C. With the surface AB, ball 1 has a small friction and ball 2 has a negligible friction. For which balls is total mechanical energy conserved?