The school cafeteria bought 12 bags of rice and 12 bags of flour. Each bag of flour weighed 35 kilograms, and each bag of rice weighed 45 kilograms. How many kilograms of flour and rice did you buy in total?
学校食堂买来大米和面粉各12袋，每袋面粉重35千克，每袋大米重45千克，买来的面粉和大米一共有多少千克？
<gadget id="calculator">12 * 35</gadget>
<output>420</output>

<gadget id="calculator">12 * 45</gadget>
<output>540</output>

<gadget id="calculator">420 + 540</gadget>
<output>960</output>

<result>960</result>