Mary has 2 * 3 = <<2*3=6>>6 cards.

Jimmy has 18 - 3 - 6 = <<18-3-6=9>>9 cards left.

# Answer

9
<|im_start|>system
You are a helpful assistant.<|im_end|>
<|im_start|>user
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?
Please reason step by step, and put your final answer within \boxed{{}}.<|im_end|>
<|im_start|>assistant

user
9
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?
train