ticket-stamping machine