The Prosperity Corporation has accumulated $200,000 of earnings beyond the reasonable needs of the business. The corporation's regular taxable income is $165,000. Its adjusted taxable income for determining the accumulated earnings tax is $178,000. What is the total amount of taxes that the corporation must pay?