The target capital structure for QM Industries is 45% common stock, 5% preferred stock, and 50% debt. If the cost of common equity for the firm is 17.1%, the cost of preferred stock is 10.7%, the before-tax cost of debt is 8.8%, and the firm's tax rate is 35%, what is QM's weighted average cost of capital?