Penelope is going to the carnival to ride the rides. It costs $20 to get into the carnival and ride tickets are $0.50 each. How many rides did Penelope get to ride if she spends $35 in all.