Cutting and punching machine