Joe invested $5000 divided in two different schemes, Scheme A and Scheme B, at a simple interest rate of 5% per annum and 3% per annum, respectively. If the total amount of simple interest earned in 2 years is $380, find the amount invested in Scheme A.