Sven got money for his birthday. He spent $12 of the money and now has $28 left. Write and solve an equation to find out how much money Sven got for his birthday.