A team of cancer research specialists received a grant of $500,000 to be used for cancer research. They deposited some of the money in a 10% simple interest account and the remainder in an 9% annual simple interest account. How much was deposited in each account if the annual interest is $49,500?