There is a bunch of sandwich candy, if it is divided into 8 parts on average, there will be 2 extra pieces in the end; if it is divided into 9 parts on average, there will be 3 extra pieces in the end; How many pieces is there at least in this pile of candy?
有一堆夹心糖，如果平均分成8份，最后多余2块；如果平均分成9份，最后多余3块；如果平均分成10份，最后多余4块．这堆糖至少有多少块？
<gadget id="calculator">8 * 9 * 5</gadget>
<output>360</output>

<gadget id="calculator">360 - 6</gadget>
<output>354</output>

<result>354</result>