Add 6 to the product of 45 times 13, and then subtract 274 from the sum. What is the difference?
6加上45乘以13的积，所得的和再减去274，差是多少？
<gadget id="calculator">45 * 13</gadget>
<output>585</output>

<gadget id="calculator">6 + 585</gadget>
<output>591</output>

<gadget id="calculator">591 - 274</gadget>
<output>317</output>

<result>317</result>