A $16,000 portfolio is invested in a risk-free security and two stocks. The beta of stock A is 0.67 while the beta of stock B is 1.64. 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.52?