A $16,000 portfolio is invested in the risk-free security and two stocks. The beta of stock A is 0.72 while the beta of stock B is 2.13. One-half of the portfolio is invested in the risk-free security. How much is invested in stock A if the beta of the portfolio is 0.53?