Mom gave Xiao Ming some money. If he bought all the apples, he could buy 12kg, and if he bought all the bananas, he could buy 18kg. As a result, Xiao Ming bought 4kg of apples, 10kg of bananas, and left 4 yuan. How much did mother give Xiao Ming?
妈妈给了小明一些钱，如果全部买苹果可买12kg，全部买香蕉可以买18kg．结果小明买了4kg苹果和10kg、香蕉，还剩4元．妈妈给了小明多少元？
<gadget id="calculator">1 / 12</gadget>
<output>1/12 = around 0.083333</output>

<gadget id="calculator">(1/12) * 4</gadget>
<output>1/3 = around 0.333333</output>

<gadget id="calculator">1 / 18</gadget>
<output>1/18 = around 0.055556</output>

<gadget id="calculator">(1/18) * 10</gadget>
<output>5/9 = around 0.555556</output>

<gadget id="calculator">1 - (1/3) - (5/9)</gadget>
<output>1/9 = around 0.111111</output>

<gadget id="calculator">4 / (1/9)</gadget>
<output>36</output>

<result>36</result>