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

### Instruction:
 John buys a gaming PC for $1200.  He decides to replace the video card in it. He sells the old card for $300 and buys a new one for $500.  How much money did he spend on his computer, counting the savings from selling the old card?


### Response:
 John achète un PC de jeu pour 1200 $.
Il vend la vieille carte pour 300 $ et en achète une nouvelle pour 500 $.
Il a donc dépensé 1200-300+500 = 1400 $.