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

### Instruction:
Jimmy has 18 cards. Jimmy gives three cards to Bob. If Jimmy gives Mary twice as many cards as he gave to Bob, how many cards does Jimmy have left?

### Response:
 เขาให้แมรี่ 3 * 2 = <<3*2=6>>6 ใบ
เขาจะเหลือการ์ด 18 - 3 - 6 = <<18-3-6=9>>9 ใบ