The kindergarten bought some fruit candies, and distributed them to 2 children, 3 children, and 5 children on average, with 1 yuan left. How many pieces of candy did the kindergarten buy at least?
幼儿园买了一些水果糖，平均分给2个小朋友，3个小朋友，5个小朋友，都剩1块，幼儿园最少买了多少块糖？
<gadget id="calculator">2 * 3 * 5</gadget>
<output>30</output>

<gadget id="calculator">30 + 1</gadget>
<output>31</output>

<result>31</result>