Jim Myers has $28,000 invested in stock A and stock B. Stock A currently sells for $40 a share and stock B sells for $80 a share. If stock B triples in value and stock A goes up 50%, his stock will be worth $78,000 how many hares of each stock does he own.