Matthew Reeves has ​$26,000 invested in stock A and stock B. Stock A currently sells for ​$20 a share and stock B sells for ​$80 a share. If stock B doubles in value and stock A goes up​ 50%, his stock will be worth ​$47,000. How many shares of each stock does he own?

____ shares of stock A

____ shares of stock B