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

### Instruction:
John's camera broke so he decided to rent one for 4 weeks.  It was a $5000 camera and the rental fee was 10% of the value per week.  His friend who was there when it broke agreed to pay 40% of the rental fee.  How much did John pay?

### Response:
 ค่าเช่าคือ 10% ของ 5000 = $<<10*.01*5000=500>>500 ต่อสัปดาห์
ดังนั้นค่าเช่ารวมทั้งหมดคือ 500 x 4 = $<<500*4=2000>>2000
เพื่อนของเขาจ่าย 2000 x 0.4 = $800
ดังนั้นเขาจ่าย 2000 - 800 = $<<2000-800=1200>>1200