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

### Instruction:
Cassandra collected 5000 pennies for the charity drive. James collected 276 fewer pennies. How many pennies did they donate to charity?

### Response:
 เจมส์มีเหรียญเพนนี 5000 - 276 = <<5000-276=4724>>4724 เหรียญ
พวกเขาบริจาคเหรียญเพนนีทั้งหมด 5000 + 4724 = <<5000+4724=9724>>9724 เหรียญให้กับกุศล