Tom wants to make the world's largest dough ball. He needs 500 pounds of flour and he can buy 50-pound bags of flour for $20. He also needs 10 pounds of salt and salt cost 1000 promoting everything. He then sells tickets for $20 each and sells 500 tickets. How much money did he make?