An animal shelter spends $1.00 per day to care for each bird and $6.50 per day to care for each cat. Josiah noticed that the shelter spent $161.50 caring for birds and cats on Friday. Josiah found a record showing that there were a total of 46 birds and cats on Friday. How many birds were at the shelter on Friday?