When going out to play, Xiaofang and Xiaoming brought the same amount of money. Xiaofang spent 10 yuan and Xiaoming spent 18 yuan. As a result, Xiaofang left twice as much money as Xiaoming. How much money did they have? ?
外出游玩的时候，小芳和小明两人带的钱数同样多，小芳用去10元，小明用去18元，结果小芳剩下的钱数是小明的2倍，两人原来有多少元？
<gadget id="calculator">18 - 10</gadget>
<output>8</output>

<gadget id="calculator">2 - 1</gadget>
<output>1</output>

<gadget id="calculator">8 / 1</gadget>
<output>8</output>

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

<result>26</result>