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

### Instruction:
 吉米有18张卡片。吉米给了鲍勃3张卡片。如果吉米给了玛丽的卡片是给鲍勃的两倍，吉米还剩下多少张卡片？


### Response:
 他给了玛丽3 * 2 = <<3*2=6>>6张卡片。
他还剩下18 - 3 - 6 = <<18-3-6=9>>9张卡片。