When the four brothers of the Zhang family went to the city, the money brought by the eldest was 50% of the money brought by the other three, the money brought by the second was 1/3 of the money brought by the other three, and the money brought by the third was The other three brought 25% of the money, and the fourth child brought 1040 yuan. Question: How much money did the four bring into the city?
张家四兄弟进城，老大带去的钱是另外三个所带钱的50%，老二带去的钱是另外三人所带钱的(1/3)，老三带去的钱是另外三个所带钱的25%，老四带去1040元．问：四个进城一共带了多少钱？
<gadget id="calculator">50 / 100</gadget>
<output>1/2 = around 0.5</output>

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

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

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

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

<gadget id="calculator">25 / 100</gadget>
<output>1/4 = around 0.25</output>

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

<gadget id="calculator">(1/4) / (5/4)</gadget>
<output>1/5 = around 0.2</output>

<gadget id="calculator">1 - (1/3) - (1/4) - (1/5)</gadget>
<output>13/60 = around 0.216667</output>

<gadget id="calculator">1_040 / (13/60)</gadget>
<output>4_800</output>

<result>4_800</result>