A portfolio has an expected return of 12.3 percent. This portfolio contains two stocks and one risk-free security. The expected return on Stock X is 9.7 percent and on Stock Y it is 17.7 percent. The risk-free rate is 3.8 percent. The portfolio value is $78,000 of which $18,000 is the risk-free security. How much is invested in Stock X?