It costs $20 to enter an amusement park and $0.50 to go on each ride. You have $24. How many rides are you able to go on?