A bag of rice was eaten (1/3) and 6 kg in the first week, and then 8 kg was added, and the rest (1/3) was eaten in the second week. At this time, the rice in the bag was exactly 24 kg. How many kilograms does this bag of rice originally weigh?
一袋大米第一周吃了(1/3)又6千克，后又加入8千克，第二周又吃了剩下的(1/3)，这时袋里的大米恰好是24千克．这袋大米原来有多少千克？
<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">24 / (2/3)</gadget>
<output>36</output>

<gadget id="calculator">36 - 8</gadget>
<output>28</output>

<gadget id="calculator">28 + 6</gadget>
<output>34</output>

<gadget id="calculator">34 / (2/3)</gadget>
<output>51</output>

<result>51</result>