In a company, employees have a combined monthly salary of $10,000. A kind manager proposes to triple the salaries of those earning up to $500, and to increase the salaries of others by $1,000, resulting in a total salary of $24,000. A strict manager proposes to reduce the salaries of those earning more than 500, while leaving others' salaries unchanged. What will the total salary be in this case?