prompt: John decided to sell his PlayStation to buy a new computer.  The computer's cost was $700 and the accessories cost was $200.  The PlayStation was worth $400 but he sold it for 20% less than its value.  How much money came out of his pocket?
messages.content: John decided to sell his PlayStation to buy a new computer.  The computer's cost was $700 and the accessories cost was $200.  The PlayStation was worth $400 but he sold it for 20% less than its value.  How much money came out of his pocket?
messages.role: user
messages.content: He loses 400*.2=$<<400*.2=80>>80 on the PlayStation
  So he sells it for 400-80=$<<400-80=320>>320
  The computer cost 700+200=$<<700+200=900>>900
  So he was 900-320=$<<900-320=580>>580 out of pocket
  #### 580
messages.role: assistant