He bought all the toys for 20*200=$<<20*200=4000>>4000

He sold 200*.8=<<200*.8=160>>160 toys

He made 160*30=$<<160*30=4800>>4800 from selling them

So he profits 4800-4000=$<<4800-4000=800>>800 profit

# Answer

800
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
James decides to sell 80% of his toys.  He bought them for $20 each and sells them for $30 each.  If he had 200 toys how much more money did he have compared to before he bought them?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
800
James decides to sell 80% of his toys.  He bought them for $20 each and sells them for $30 each.  If he had 200 toys how much more money did he have compared to before he bought them?
train