A copy of "Grimm's Fairy Tales" is 25 yuan. Xiao Ming bought 24 copies, and Xiao Hong bought 16 copies. How much did they spend in total?
一本《格林童话》25元，小明买了24本，小红买了16本，他们一共花了多少钱？
<gadget id="calculator">24 + 16</gadget>
<output>40</output>

<gadget id="calculator">40 * 25</gadget>
<output>1_000</output>

<result>1_000</result>