71x+85y=4904

Jaafar owns a total of 60 shares of​ stock, some in stock A and some in stock B. On a particular​ day, stock A closed at ​$71 per share and stock B closed at ​$85 per share. If​ Jaafar's stock for these companies was worth ​$4904​, how many shares of each type of stock does he​ own?