The original cement weight ratio of two construction teams, A and B, is 4:3. After A gives 54 tons of cement to B, the weight ratio of cement between A and B is 3:4. How many tons of cement did Team A have?
甲乙两个建筑队原有水泥的重量比是4：3，当甲队给乙队54吨水泥后，甲乙两队水泥的重量比是3：4．原来甲队有多少吨水泥？
<gadget id="calculator">4 + 3</gadget>
<output>7</output>

<gadget id="calculator">4 / 7</gadget>
<output>4/7 = around 0.571429</output>

<gadget id="calculator">3 + 4</gadget>
<output>7</output>

<gadget id="calculator">3 / 7</gadget>
<output>3/7 = around 0.428571</output>

<gadget id="calculator">(4/7) - (3/7)</gadget>
<output>1/7 = around 0.142857</output>

<gadget id="calculator">54 / (1/7)</gadget>
<output>378</output>

<gadget id="calculator">378 * (4/7)</gadget>
<output>216</output>

<result>216</result>