A woman owns 21 pets. Each of her pets is either a cat or a bird. If the pets have a total of 76 legs, how many cats and how many birds does the woman own?