Below is an instruction that describes a task. Write a response that appropriately completes the request in Thai. Please answer in Thai.

### Instruction:
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?

### Response:
 เขาขาดทุน 400 * 0.2 = $<<400*.2=80>>80 จาก PlayStation
นั่นหมายความว่าเขาขายในราคา 400 - 80 = $<<400-80=320>>320
ราคาคอมพิวเตอร์คือ 700 + 200 = $<<700+200=900>>900
ดังนั้นเขาต้องจ่ายเพิ่ม 900 - 320 = $<<900-320=580>>580