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? Let's think first. Chain of thought:
User
Mary has 2 * 3 = 6 cards. Jimmy has 18 - 3 - 6 = 9 cards left.
Therefore, the answer is 9.
Assistant