A is 3 times that of B, C is 4 times that of B, D is half of C, the sum of the four numbers is 1040, then, how much is D?
甲是乙的3倍，丙是乙的4倍，丁是丙的一半，四个数的和为1040，那么，丁是多少？
<gadget id="calculator">1 + 3 + 4 + 2</gadget>
<output>10</output>

<gadget id="calculator">1_040 / 10</gadget>
<output>104</output>

<gadget id="calculator">104 * 2</gadget>
<output>208</output>

<result>208</result>