In a shipment of onions, 12% are damaged. 1,144 onions are undamaged.

Find the total number of onions in the shipment.