During which parts of the process (the collision and compression of the spring) is this energy lost?during the elastic compressionduring the inelastic collision