Alan has an annual base salary of $24,000. In addition to his salary, he earns 8% of his total sales (S). If he wants to earn at least $40,000 next year, how much does he need to sell?