An animal shelter spends $3.50 per day to care for each cat and $5.50 per day to care for each dog. London noticed that the shelter spent $58.50 caring for cats and dogs on Wednesday. London found a record showing that there were a total of 15 cats and dogs on Wednesday. How many cats were at the shelter on Wednesday?