The number B is 1/3 of the number A, the number B is 1/4 of the number C, and the number D is half of the number C. The sum of the four numbers is 1040. What is the number D?
乙数是甲数的(1/3)，乙数是丙数的(1/4)，丁数是丙数的一半，四个数的和是1040，丁数是多少？
<gadget id="calculator">1 / 4</gadget>
<output>1/4 = around 0.25</output>

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

<gadget id="calculator">1 / (1/3)</gadget>
<output>3</output>

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

<gadget id="calculator">1 / 2</gadget>
<output>1/2 = around 0.5</output>

<gadget id="calculator">1 + (1/4) + (3/4) + (1/2)</gadget>
<output>5/2 = around 2.5</output>

<gadget id="calculator">1_040 / (5/2)</gadget>
<output>416</output>

<gadget id="calculator">416 * (1/2)</gadget>
<output>208</output>

<result>208</result>