A shop ordered a batch of glasses, 14 yuan each, 12 of which were damaged in transit. The unit price was 18 yuan when they were sold, and the total profit was 1160 yuan after they were sold out. How many glasses did the shop order?

A shop ordered a batch of glasses, 14 yuan each, 12 of which were damaged in transit. The unit price was 18 yuan when they were sold, and the total profit was 1160 yuan after they were sold out. How many glasses did the shop order?

Suppose that the shop has ordered x glasses in total. According to the meaning of the question: 18 (X-12) - 14x = 1160, the solution is: x = 344. That is to say, the shop has ordered 344 glasses in total