A ball of mass 0.40 kg is fired with velocity 180 m/s into the barrel of a spring gun of mass 1.5 kg initially at rest on a frictionless surface. The ball sticks in the barrel at the point of maximum compression of the spring. No energy is lost to friction. What fraction of the ball's initial kinetic energy is stored in the spring?