He needs 500/50=<<500/50=10>>10 bags of flour

That cost 20*10=$<<20*10=200>>200

He needs 10*.2=$<<10*.2=2>>2 worth of salt

So everything cost 1000+200+2=$<<1000+200+2=1202>>1202

He makes 20*500=$<<20*500=10000>>10,000 selling tickets

So he makes a profit of 10000-1202=$<<10000-1202=8798>>8798

# Answer

8798
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
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 $.2 a pound.  He also spends $1000 promoting everything.  He then sells tickets for $20 each and sells 500 tickets.  How much money did he make?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
8798
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 $.2 a pound.  He also spends $1000 promoting everything.  He then sells tickets for $20 each and sells 500 tickets.  How much money did he make?
train