Each pair of badminton rackets is 17.8 yuan, and each pair of table tennis rackets is 12.2 yuan. The school buys 16 badminton rackets and 16 table tennis rackets. How much is the total cost?
每副羽毛球拍17.8元，每副乒乓球拍12.2元．学校买羽毛球拍和乒乓球拍各16副，一共用多少元？
<gadget id="calculator">17.8 + 12.2</gadget>
<output>30</output>

<gadget id="calculator">30 * 16</gadget>
<output>480</output>

<result>480</result>