7. In a company, several employees have a total monthly salary of 10000 dollars. A kind manager proposes to triple the salary for those earning up to 500 dollars, and increase the salary by 1000 dollars for the rest, so the total salary will become 24000 dollars. A mean manager proposes to reduce the salary to 500 dollars for those earning more than 500 dollars, and leave the rest as is. What will the total salary be in this case?
Solution. Note that the increase proposed by the kind manager is twice as large as the salary proposed by the evil manager (this is true for both poor and rich employees). The increase according to the kind manager's proposal is 14000, so the salary according to the evil manager's proposal is 7000.