A particle starts from rest at the top of a frictionless sphere of radius R and slides on the sphere under the force of gravity. How far below its starting point does it get before flying off the sphere?