There are some toffee in a plastic bag. If you take 3 pieces at a time, 1 piece remains at the end. If you take 5 or 7 pieces at a time, there are 4 pieces left at the end. What is the minimum number of pieces of candy in this bag?
塑料袋里有一些奶糖，如果每次取3粒，最后剩1粒，如果每次取5粒或7粒，最后都剩4粒，这袋糖最少有多少粒．
<gadget id="calculator">3 * 5 * 7</gadget>
<output>105</output>

<gadget id="calculator">105 + 4</gadget>
<output>109</output>

<result>109</result>