Mingyu Primary School bought 12 footballs and paid a total of 540 yuan. Longhe Elementary School buys 17 of the same footballs, how much does it cost in total?
明宇小学买了12个足球，共付了540元．龙河小学买同样的足球17个，一共要付多少元？
<gadget id="calculator">540 / 12</gadget>
<output>45</output>

<gadget id="calculator">45 * 17</gadget>
<output>765</output>

<result>765</result>