An online store can place 6 large boxes or 10 small boxes into a carton for shipping. In one shipment, there were a total of 82 boxes. If there are more large boxes than small boxes, how many cartons were shipped?

(please help T-T)