Amelia went to an amusement park with $45 to spend. She bought lunch for $10.25 and paid $5.00 for each ride. What is the greatest number of rides Amelia could ride?