It costs $12 for admission to the Fair, plus $0.50 for each ticket to play games. If you have a total of $30 to spend, what is the greatest amount of tickets you can buy?