He gets a 20000*.2=$<<20000*.2=4000>>4000 discount

So he paid 20000-4000=$<<20000-4000=16000>>16000

He kept 70000*.9=$<<70000*.9=63000>>63000

So he made 63,000-16,000=$<<63000-16000=47000>>47,000

# Answer

47,000
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
John decides to fix a racecar.  It cost $20,000 to fix but he gets a 20% discount.  He wins his first race but only keeps 90% of the money.  The prize is $70,000.  How much money did he make from the car?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
47,000
John decides to fix a racecar.  It cost $20,000 to fix but he gets a 20% discount.  He wins his first race but only keeps 90% of the money.  The prize is $70,000.  How much money did he make from the car?
train