Ma Bernier has 52 cats and dogs in her house the number of cats is three times the number of dogs how many cats and dogs are in the house