In a certain year, in the first 5 months, Mr. Huang spent an average of 500 yuan per month and owed the debt; in the next 7 months, he spent an average of 440 yuan per month, and finally paid off the debt owed, and Nothing left. How much is Mr. Huang's monthly salary?
某年，在前5个月中，黄老师平均每月支出500元，结果欠了债；在后面的7个月中，他平均每月支出440元，结果还清了所欠的债，且没有剩余．问黄老师每月的工资是多少元？
<gadget id="calculator">500 * 5</gadget>
<output>2_500</output>

<gadget id="calculator">440 * 7</gadget>
<output>3_080</output>

<gadget id="calculator">2_500 + 3_080</gadget>
<output>5_580</output>

<gadget id="calculator">5 + 7</gadget>
<output>12</output>

<gadget id="calculator">5_580 / 12</gadget>
<output>465</output>

<result>465</result>