An animal shelter spends $4.50 per day to care for each bird and $8.50 per day to care for each cat. Joshua noticed that the shelter spent $173.50 caring for birds and cats on Tuesday. Joshua found a record showing that there were a total of 27 birds and cats on Tuesday. How many birds were at the shelter on Tuesday?