Teacher Wang went to the bookstore to buy 24 copies of "Grimm's Fairy Tales" and "Happy Reading". "Grimm's Fairy Tales" is 21 yuan each, and "Happy Reading" is 19 yuan each. How much does Mr. Wang spend to buy the books?
王老师到书店购买《格林童话》和《快乐阅读》各24本．《格林童话》每本21元，《快乐阅读》每本19元．王老师买书一共要用多少钱？
<gadget id="calculator">21 * 24</gadget>
<output>504</output>

<gadget id="calculator">19 * 24</gadget>
<output>456</output>

<gadget id="calculator">504 + 456</gadget>
<output>960</output>

<result>960</result>