Charlie has a $30 smoothie gift card. Each time he uses the card to buy a smoothie, $2 is deducted from his card. If the balance on his card today is $12 how many smoothies has he purchased with the card?