A box of candies weighs 500 grams in total. If 40% of the candies are eaten, the remaining candies will weigh 340 grams. Find the weight of the candies in the original box.
一盒糖，连盒共重500克，如果吃去40%，剩下的糖连盒重还有340克，求原来盒中糖的重量．
<gadget id="calculator">500 - 340</gadget>
<output>160</output>

<gadget id="calculator">40 / 100</gadget>
<output>2/5 = around 0.4</output>

<gadget id="calculator">160 / (2/5)</gadget>
<output>400</output>

<result>400</result>