Dan had $34 to spend at the fair. If the admission to the fair is $10 and the rides cost $1.50 each, what is the greatest number of rides Dan can go on?