There is a batch of fruits, the total number is within 1000, if every 24 pieces are packed in a box, the last box will be 2 pieces short, if every 28 pieces are packed in a box, the last box will be 2 pieces short, if every 32 pieces are packed in a box, the last box There are only 30 boxes. How many fruits are there in this batch?
有一批水果，总数在1000个以内，如果每24个装一箱，最后一箱差2个，如果每28个装一箱，最后一箱还差2个，如果每32个一箱，最后一箱只有30个．这批水果共有多少个．
<gadget id="calculator">2 * 2 * 2 * 3 * 7 * 2 * 2</gadget>
<output>672</output>

<gadget id="calculator">672 - 2</gadget>
<output>670</output>

<result>670</result>