For a school project, the school bought 36 hamsters for $5.90 each and 40 cages for $30.25 each.
How much did the school spend in all?