Z-shaped cup lifting machine