A vegetable base wholesales a batch of vegetables to restaurants A, B, and C at a ratio of 4:5:3. Restaurant C wholesales 40 kilograms less than restaurant B. How many kilograms are there in total in this batch of vegetables?
某蔬菜基地把一批蔬菜按4：5：3的比批发给甲、乙、丙三个餐厅，丙餐厅比乙餐厅少批发40千克，这批蔬菜一共有多少千克？
<gadget id="calculator">5 - 3</gadget>
<output>2</output>

<gadget id="calculator">40 / 2</gadget>
<output>20</output>

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

<gadget id="calculator">20 * 12</gadget>
<output>240</output>

<result>240</result>