Hanna is planning to invest a total of $10000 in two funds: Fund A, a low-yield fund, which pays 3% interest, and Fund B, a high-yield fund, which pays 15% interest (but has other drawbacks). If she wants to earn $1416 in total interest, how much should Hanna invest in each fund?