Xiaogang buys a pencil case and uses it (1/3) of the money he brought is 2 yuan less, leaving 18 yuan. How much did Xiao Gang have?
小刚买一个铅笔盒用去所带钱的(1/3)少2元，还剩18元．小刚原有多少元．
<gadget id="calculator">18 - 2</gadget>
<output>16</output>

<gadget id="calculator">1 / 3</gadget>
<output>1/3 = around 0.333333</output>

<gadget id="calculator">1 - (1/3)</gadget>
<output>2/3 = around 0.666667</output>

<gadget id="calculator">16 / (2/3)</gadget>
<output>24</output>

<result>24</result>