The three warehouses A, B, and C have a total of 3 million tons of grain. After 40 tons are shipped out, the weight ratio of the remaining grain in the three warehouses A, B, and C is 7:5:6. How many tons of grain is there in warehouse A?
甲、乙、丙三个仓库共有粮食300万t，各运出40t后，甲、乙、丙三个仓库所剩粮食重量的比是7：5：6，甲仓库原有粮食多少吨？
<gadget id="calculator">40 * 3</gadget>
<output>120</output>

<gadget id="calculator">300 - 120</gadget>
<output>180</output>

<gadget id="calculator">7 + 5 + 6</gadget>
<output>18</output>

<gadget id="calculator">7 / 18</gadget>
<output>7/18 = around 0.388889</output>

<gadget id="calculator">180 * (7/18)</gadget>
<output>70</output>

<gadget id="calculator">70 + 40</gadget>
<output>110</output>

<result>110</result>