A carnival charges $6 for admission and $2.50 per ride. You have $50 to spend at the carnival. What is the greatest number of rides you can go on at the carnival?