Bob has $24 to spend on cookies and cupcakes. Write an inequality that represents what Bob can buy if cookies cost $2 and cupcakes cost $3.