A person has $10,100 to invest in two different stock. Stock ABC costs $32 per share and pays dividends of $1.20 per share. Stock XYZ costs $23 per share and pays dividends of $1.40 per share. If she wants to earn a total of $540 in dividends, how much money should be invested in company ABC?