A school is running a fundraising campaign. Initially, they set a goal to raise $12,000. After the first month, they successfully raised 45% of the goal amount. In the second month, they raised another 35% of the remaining amount. How much money has the school raised after two months?