Scott invested a total of $5400 at two separate banks. One bank pays simple interest of 12% per year while the other pays simple interest at a rate of 9% per year. If Scott earned $576.00 in interest during a single year, how much did he have on deposit in each bank?