How the frog floats out of the water