Distribute several peaches to the monkey group, and each monkey can get 18 peaches on average. If the Monkey King is given 31 peaches, and each of the 8 little monkeys has 10 peaches, then the other monkeys can only get 21 peaches each. How many monkeys are there in total?
将若干个桃子分给猴群，平均每只猴子能分到18个桃．如果分给猴王31个桃，8只小猴每只10个桃，那么其他猴子每只能分到21个桃．猴群里一共有多少只猴．
<gadget id="calculator">18 - 10</gadget>
<output>8</output>

<gadget id="calculator">8 * 8</gadget>
<output>64</output>

<gadget id="calculator">31 - 18</gadget>
<output>13</output>

<gadget id="calculator">64 - 13</gadget>
<output>51</output>

<gadget id="calculator">21 - 18</gadget>
<output>3</output>

<gadget id="calculator">51 / 3</gadget>
<output>17</output>

<gadget id="calculator">1 + 8 + 17</gadget>
<output>26</output>

<result>26</result>