An investor owns shares of Stock A and Stock B. The investor owns a total of 200 shares with a total value of $4000. How many shares of each stock does the investor own?

A table shows the price of two stocks. Stock A, 9.50 dollars; Stock B, 27 dollars.