Fred lives way out in the country. He goes shopping only once a year. He bought 500 cans of corn at $0.30 each, 617 pounds of potatoes for $ 0.59 per pound, 379 boxes of Jell-O at $0.98 per box, 116 gallons of milk at $4.25 a gallon, and 2 loaves of bread costing $0.98 each. How much money did Fred spend?